Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001352/0.001352, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001492/0.001492, allocations: 190.7 kB / 22.23 MB, free: 5.105 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.388/1.388, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.158/3.158, allocations: 0.4893 GB / 0.7884 GB, free: 33.19 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 70.09 kB / 1.145 GB, free: 30.74 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3636, allocations: 174.9 MB / 1.316 GB, free: 9.711 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006854/0.3704, allocations: 3.371 MB / 1.319 GB, free: 6.324 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.005642/0.3761, allocations: 2.1 MB / 1.321 GB, free: 4.215 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004056/0.3765, allocations: 7.938 kB / 1.321 GB, free: 4.207 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.001511/0.378, allocations: 298.8 kB / 1.322 GB, free: 3.914 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.001144/0.3791, allocations: 242.9 kB / 1.322 GB, free: 3.676 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.3804, allocations: 287.3 kB / 1.322 GB, free: 3.395 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0009581/0.3813, allocations: 418.6 kB / 1.323 GB, free: 2.984 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005408/0.3819, allocations: 157 kB / 1.323 GB, free: 2.828 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004714/0.3823, allocations: 159.4 kB / 1.323 GB, free: 2.672 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007972/0.3831, allocations: 215.3 kB / 1.323 GB, free: 2.461 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.3832, allocations: 24 kB / 1.323 GB, free: 2.438 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007813/0.384, allocations: 271.5 kB / 1.323 GB, free: 2.172 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.3843, allocations: 127.6 kB / 1.323 GB, free: 2.047 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.3848, allocations: 147.2 kB / 1.324 GB, free: 1.902 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.001256/0.386, allocations: 490.3 kB / 1.324 GB, free: 1.422 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.386, allocations: 0 / 1.324 GB, free: 1.422 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.224e-06/0.386, allocations: 3.938 kB / 1.324 GB, free: 1.418 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 2.157e-05/0.386, allocations: 4 kB / 1.324 GB, free: 1.414 MB / 1.014 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.001803/0.3878, allocations: 0.5361 MB / 1.325 GB, free: 0.8477 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.3879, allocations: 8.031 kB / 1.325 GB, free: 0.8398 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.3891, allocations: 116.6 kB / 1.325 GB, free: 0.7266 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.3896, allocations: 226.7 kB / 1.325 GB, free: 488 kB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.3897, allocations: 16.88 kB / 1.325 GB, free: 472 kB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.3898, allocations: 32.73 kB / 1.325 GB, free: 440 kB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.3909, allocations: 457.3 kB / 1.325 GB, free: 15.95 MB / 1.029 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.3909, allocations: 3.984 kB / 1.325 GB, free: 15.95 MB / 1.029 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.3909, allocations: 8 kB / 1.325 GB, free: 15.94 MB / 1.029 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.3911, allocations: 40.47 kB / 1.325 GB, free: 15.9 MB / 1.029 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007811/0.3919, allocations: 365.7 kB / 1.326 GB, free: 15.54 MB / 1.029 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003373/0.3952, allocations: 2.154 MB / 1.328 GB, free: 13.2 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004902/0.3957, allocations: 250.4 kB / 1.328 GB, free: 12.95 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.396, allocations: 140.8 kB / 1.328 GB, free: 12.8 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.396, allocations: 4 kB / 1.328 GB, free: 12.8 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.3961, allocations: 38.55 kB / 1.328 GB, free: 12.75 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.3961, allocations: 0 / 1.328 GB, free: 12.75 MB / 1.029 GB
Notification: Performance of matching and sorting (n=23): time 0.002126/0.3982, allocations: 0.9064 MB / 1.329 GB, free: 11.82 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.3983, allocations: 59.27 kB / 1.329 GB, free: 11.75 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.3987, allocations: 252.9 kB / 1.33 GB, free: 11.49 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.3987, allocations: 29.7 kB / 1.33 GB, free: 11.45 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.3989, allocations: 192.3 kB / 1.33 GB, free: 11.26 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.399, allocations: 95.27 kB / 1.33 GB, free: 11.17 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.3992, allocations: 77.64 kB / 1.33 GB, free: 11.09 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001947/0.3994, allocations: 330.8 kB / 1.33 GB, free: 10.75 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.3997, allocations: 159.9 kB / 1.33 GB, free: 10.6 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.4002, allocations: 258.1 kB / 1.331 GB, free: 10.31 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/0.4008, allocations: 407.9 kB / 1.331 GB, free: 9.879 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.4009, allocations: 7.938 kB / 1.331 GB, free: 9.871 MB / 1.029 GB
Notification: Performance of matching and sorting (n=43) (initialization): time 0.00137/0.4022, allocations: 0.5894 MB / 1.332 GB, free: 9.273 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.4022, allocations: 8.312 kB / 1.332 GB, free: 9.266 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4023, allocations: 4 kB / 1.332 GB, free: 9.262 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007613/0.403, allocations: 196.5 kB / 1.332 GB, free: 9.066 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.4033, allocations: 63.89 kB / 1.332 GB, free: 9.004 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/0.407, allocations: 2.38 MB / 1.334 GB, free: 6.508 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.4074, allocations: 32.06 kB / 1.334 GB, free: 6.477 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.4075, allocations: 12 kB / 1.334 GB, free: 6.465 MB / 1.029 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.0002629/0.4077, allocations: 170.8 kB / 1.334 GB, free: 6.289 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.4078, allocations: 31.75 kB / 1.334 GB, free: 6.258 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006463/0.4085, allocations: 353.3 kB / 1.335 GB, free: 5.91 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4085, allocations: 4 kB / 1.335 GB, free: 5.906 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.4085, allocations: 4 kB / 1.335 GB, free: 5.902 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4085, allocations: 3.984 kB / 1.335 GB, free: 5.898 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.4099, allocations: 0.7849 MB / 1.336 GB, free: 5.059 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4099, allocations: 7.938 kB / 1.336 GB, free: 5.051 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/0.4103, allocations: 71.88 kB / 1.336 GB, free: 4.98 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.4103, allocations: 4 kB / 1.336 GB, free: 4.977 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.4103, allocations: 4 kB / 1.336 GB, free: 4.973 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.857e-05/0.4104, allocations: 7.984 kB / 1.336 GB, free: 4.965 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4104, allocations: 4.062 kB / 1.336 GB, free: 4.961 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009375/0.4113, allocations: 0.6085 MB / 1.336 GB, free: 4.332 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.4115, allocations: 51.88 kB / 1.336 GB, free: 4.281 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.4115, allocations: 15.98 kB / 1.336 GB, free: 4.266 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.4117, allocations: 15.92 kB / 1.336 GB, free: 4.25 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.4118, allocations: 23.91 kB / 1.336 GB, free: 4.227 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.4118, allocations: 8 kB / 1.336 GB, free: 4.219 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.000271/0.4121, allocations: 184.5 kB / 1.336 GB, free: 4.039 MB / 1.029 GB
Notification: Performance of sort global known variables: time 1.01e-07/0.4121, allocations: 0 / 1.336 GB, free: 4.039 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004603/0.4126, allocations: 92 kB / 1.337 GB, free: 3.949 MB / 1.029 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.0002299/0.4128, allocations: 106.6 kB / 1.337 GB, free: 3.836 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.001205/0.414, allocations: 0.5138 MB / 1.337 GB, free: 3.309 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.414, allocations: 0 / 1.337 GB, free: 3.309 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.4142, allocations: 138.2 kB / 1.337 GB, free: 3.176 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.4148, allocations: 56.73 kB / 1.337 GB, free: 3.121 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.4168, allocations: 0.8408 MB / 1.338 GB, free: 2.246 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.4176, allocations: 0.7989 MB / 1.339 GB, free: 1.418 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0002875/0.4178, allocations: 78.91 kB / 1.339 GB, free: 1.34 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.555e-05/0.4179, allocations: 19.44 kB / 1.339 GB, free: 1.32 MB / 1.029 GB
Notification: Performance of SimCode: time 1.172e-06/0.4179, allocations: 0 / 1.339 GB, free: 1.32 MB / 1.029 GB
Notification: Performance of Templates: time 0.01213/0.4301, allocations: 4.427 MB / 1.343 GB, free: 12.91 MB / 1.045 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.023420478217304]