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.001564/0.001564, allocations: 110.5 kB / 17.6 MB, free: 4.688 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.001737/0.001737, allocations: 190.8 kB / 20.78 MB, free: 1.516 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.51/1.51, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 443.4 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001991/0.001991, allocations: 71.89 kB / 1.059 GB, free: 368 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3739, allocations: 160.7 MB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005336/0.3792, allocations: 3.383 MB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003551/0.3828, allocations: 2.066 MB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.3829, allocations: 11.94 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009874/0.3839, allocations: 302.8 kB / 1.222 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005762/0.3845, allocations: 234.9 kB / 1.222 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007412/0.3852, allocations: 291.2 kB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000494/0.3857, allocations: 414.7 kB / 1.223 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.3861, allocations: 148.2 kB / 1.223 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.3863, allocations: 163.4 kB / 1.223 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.3867, allocations: 215.2 kB / 1.223 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.3867, allocations: 27.98 kB / 1.223 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004786/0.3872, allocations: 271.5 kB / 1.223 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.3874, allocations: 123.6 kB / 1.224 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.3875, allocations: 147.2 kB / 1.224 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006369/0.3881, allocations: 490.2 kB / 1.224 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3882, allocations: 4 kB / 1.224 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3882, allocations: 0 / 1.224 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3882, allocations: 0 / 1.224 GB, free: 7.051 MB / 0.9669 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.001238/0.3894, allocations: 0.6037 MB / 1.225 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3894, allocations: 12.03 kB / 1.225 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009848/0.3904, allocations: 116.6 kB / 1.225 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.3908, allocations: 285.2 kB / 1.225 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.3909, allocations: 24.92 kB / 1.225 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.391, allocations: 32.7 kB / 1.225 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007607/0.3917, allocations: 461 kB / 1.226 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3918, allocations: 0 / 1.226 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.3918, allocations: 15.94 kB / 1.226 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001376/0.3919, allocations: 40.53 kB / 1.226 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006292/0.3926, allocations: 361.9 kB / 1.226 GB, free: 5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.3954, allocations: 2.211 MB / 1.228 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.3958, allocations: 250.3 kB / 1.228 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.396, allocations: 152.8 kB / 1.229 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.396, allocations: 0 / 1.229 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.3961, allocations: 42.56 kB / 1.229 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=22): time 1.152e-06/0.3961, allocations: 0 / 1.229 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.001885/0.398, allocations: 1.056 MB / 1.23 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.398, allocations: 51.41 kB / 1.23 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.3983, allocations: 256.9 kB / 1.23 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.3984, allocations: 33.7 kB / 1.23 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3985, allocations: 192.4 kB / 1.23 GB, free: 472 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/0.3986, allocations: 95.16 kB / 1.23 GB, free: 376 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.3987, allocations: 81.62 kB / 1.23 GB, free: 288 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3989, allocations: 330.8 kB / 1.231 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.3992, allocations: 159.9 kB / 1.231 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.3995, allocations: 241.6 kB / 1.231 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.4001, allocations: 410.8 kB / 1.231 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4001, allocations: 0 / 1.231 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001233/0.4014, allocations: 0.5963 MB / 1.232 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.4014, allocations: 6.031 kB / 1.232 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4014, allocations: 4 kB / 1.232 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007126/0.4021, allocations: 192.9 kB / 1.232 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.4024, allocations: 67.89 kB / 1.232 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003233/0.4057, allocations: 2.496 MB / 1.235 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.4061, allocations: 24.08 kB / 1.235 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.4061, allocations: 19.98 kB / 1.235 GB, free: 11.54 MB / 0.9825 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.0002097/0.4063, allocations: 161.8 kB / 1.235 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.4064, allocations: 27.8 kB / 1.235 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005929/0.407, allocations: 349 kB / 1.235 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.407, allocations: 4 kB / 1.235 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.407, allocations: 0 / 1.235 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.407, allocations: 3.938 kB / 1.235 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.4081, allocations: 0.8199 MB / 1.236 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.4081, allocations: 4 kB / 1.236 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.4085, allocations: 71.94 kB / 1.236 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4085, allocations: 7.938 kB / 1.236 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.4085, allocations: 4 kB / 1.236 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.4085, allocations: 8 kB / 1.236 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4086, allocations: 0 / 1.236 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/0.4094, allocations: 0.6175 MB / 1.237 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.4095, allocations: 128.9 kB / 1.237 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.4096, allocations: 8 kB / 1.237 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.4098, allocations: 15.98 kB / 1.237 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.4099, allocations: 23.84 kB / 1.237 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.4099, allocations: 12 kB / 1.237 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002439/0.4101, allocations: 188.5 kB / 1.237 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4101, allocations: 0 / 1.237 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004307/0.4106, allocations: 84 kB / 1.237 GB, free: 8.906 MB / 0.9825 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.0002071/0.4108, allocations: 111.2 kB / 1.237 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009882/0.4118, allocations: 0.5162 MB / 1.238 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4118, allocations: 0 / 1.238 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.412, allocations: 139.9 kB / 1.238 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.4124, allocations: 63.34 kB / 1.238 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.414, allocations: 0.8434 MB / 1.239 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.4145, allocations: 0.799 MB / 1.24 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002424/0.4147, allocations: 74.92 kB / 1.24 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.828e-05/0.4148, allocations: 23.44 kB / 1.24 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of SimCode: time 1.042e-06/0.4148, allocations: 0 / 1.24 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of Templates: time 0.009044/0.4238, allocations: 4.345 MB / 1.244 GB, free: 1.941 MB / 0.9825 GB " [Timeout remaining time 300] 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: 8.98392266780138]