Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002475/0.002475, allocations: 188.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.823/2.823, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 63.89 kB / 1.061 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9498/0.9519, allocations: 160.8 MB / 1.218 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005753/0.9577, allocations: 3.387 MB / 1.222 GB, free: 1.113 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004139/0.9618, allocations: 2.079 MB / 1.224 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.962, allocations: 12.19 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.9631, allocations: 300.5 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007266/0.9638, allocations: 243.2 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008499/0.9647, allocations: 288.4 kB / 1.225 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005878/0.9652, allocations: 408.6 kB / 1.225 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003686/0.9656, allocations: 152.4 kB / 1.225 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.9659, allocations: 169.8 kB / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.9663, allocations: 209.9 kB / 1.226 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.894e-05/0.9664, allocations: 23.25 kB / 1.226 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005735/0.9669, allocations: 272.4 kB / 1.226 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.9671, allocations: 121.9 kB / 1.226 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.9673, allocations: 147.8 kB / 1.226 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007324/0.968, allocations: 495.3 kB / 1.227 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.968, allocations: 0 / 1.227 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.293e-06/0.968, allocations: 0 / 1.227 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.968, allocations: 4 kB / 1.227 GB, free: 13.71 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001283/0.9693, allocations: 0.6053 MB / 1.227 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.9693, allocations: 9.281 kB / 1.227 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.9704, allocations: 119.9 kB / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.9709, allocations: 284.5 kB / 1.228 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.971, allocations: 18.28 kB / 1.228 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.9711, allocations: 40.95 kB / 1.228 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.972, allocations: 457.7 kB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.972, allocations: 1.344 kB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.972, allocations: 14.55 kB / 1.228 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/0.9722, allocations: 43.16 kB / 1.228 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000717/0.9729, allocations: 360.6 kB / 1.228 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.9761, allocations: 2.221 MB / 1.231 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.9766, allocations: 243.5 kB / 1.231 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.9768, allocations: 146.4 kB / 1.231 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.9768, allocations: 3.375 kB / 1.231 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.9769, allocations: 31.72 kB / 1.231 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/0.9769, allocations: 0 / 1.231 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.002157/0.979, allocations: 1.064 MB / 1.232 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.9791, allocations: 51.41 kB / 1.232 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.9796, allocations: 256.9 kB / 1.232 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.9796, allocations: 33.7 kB / 1.232 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.9798, allocations: 196.3 kB / 1.233 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.9798, allocations: 87.28 kB / 1.233 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.98, allocations: 81.58 kB / 1.233 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.9802, allocations: 334.8 kB / 1.233 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.9805, allocations: 155.9 kB / 1.233 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.9809, allocations: 245.6 kB / 1.233 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/0.9816, allocations: 403.4 kB / 1.234 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9816, allocations: 0 / 1.234 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001338/0.9829, allocations: 0.6043 MB / 1.234 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.9829, allocations: 16 kB / 1.234 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.9829, allocations: 4 kB / 1.234 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007859/0.9837, allocations: 180.7 kB / 1.235 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.984, allocations: 67.89 kB / 1.235 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/0.9874, allocations: 2.493 MB / 1.237 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.9878, allocations: 24 kB / 1.237 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.9878, allocations: 16 kB / 1.237 GB, free: 3.469 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002757/0.9881, allocations: 168.5 kB / 1.237 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.9882, allocations: 27.8 kB / 1.237 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006032/0.9888, allocations: 354.4 kB / 1.238 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.9888, allocations: 8.062 kB / 1.238 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.9888, allocations: 0 / 1.238 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.9888, allocations: 3.984 kB / 1.238 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.9902, allocations: 0.8182 MB / 1.238 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.9902, allocations: 4 kB / 1.238 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003825/0.9906, allocations: 71.88 kB / 1.238 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.9906, allocations: 4 kB / 1.238 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.9906, allocations: 4.062 kB / 1.239 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.9906, allocations: 8 kB / 1.239 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9906, allocations: 7.922 kB / 1.239 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.9914, allocations: 0.6149 MB / 1.239 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.9916, allocations: 132.9 kB / 1.239 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.9917, allocations: 11.98 kB / 1.239 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.9919, allocations: 19.98 kB / 1.239 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.992, allocations: 15.91 kB / 1.239 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.992, allocations: 8 kB / 1.239 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002508/0.9922, allocations: 188.5 kB / 1.239 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9922, allocations: 0 / 1.239 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004503/0.9927, allocations: 88 kB / 1.24 GB, free: 0.8203 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001969/0.9929, allocations: 115.2 kB / 1.24 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.994, allocations: 0.5141 MB / 1.24 GB, free: 172 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.994, allocations: 0.625 kB / 1.24 GB, free: 172 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.9942, allocations: 147.8 kB / 1.24 GB, free: 24 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.9948, allocations: 58.73 kB / 1.24 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.9967, allocations: 0.84 MB / 1.241 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/0.9974, allocations: 0.7912 MB / 1.242 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002715/0.9977, allocations: 78.91 kB / 1.242 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.155e-05/0.9978, allocations: 19.44 kB / 1.242 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of SimCode: time 7.52e-07/0.9978, allocations: 0 / 1.242 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of Templates: time 0.01085/1.009, allocations: 4.434 MB / 1.246 GB, free: 9.773 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.404022798873484]