Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001504/0.001504, allocations: 113.9 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.001616/0.001616, allocations: 188.6 kB / 22.22 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.397/1.397, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.697/2.697, allocations: 476.7 MB / 0.7646 GB, free: 9.875 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 1.11 GB, free: 6.305 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7895/0.7915, allocations: 168.8 MB / 1.274 GB, free: 4.191 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00537/0.7968, allocations: 3.375 MB / 1.278 GB, free: 0.8047 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.003724/0.8006, allocations: 2.088 MB / 1.28 GB, free: 14.71 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.8007, allocations: 7.938 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 0.000966/0.8017, allocations: 302.8 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 0.0005462/0.8022, allocations: 234.9 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006961/0.8029, allocations: 291.3 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.0005724/0.8035, allocations: 418.6 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.8038, allocations: 144.1 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.804, allocations: 171.4 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003901/0.8044, allocations: 207.3 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.8045, allocations: 24 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.8049, allocations: 275.5 kB / 1.282 GB, free: 12.68 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.805, allocations: 127.6 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.8052, allocations: 147.3 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006149/0.8059, allocations: 481 kB / 1.282 GB, free: 11.94 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 8.016e-06/0.8059, allocations: 11.92 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.212e-06/0.8059, allocations: 0 / 1.282 GB, free: 11.93 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 1.196e-05/0.8059, allocations: 0 / 1.282 GB, free: 11.93 MB / 0.9825 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.001095/0.807, allocations: 0.5323 MB / 1.283 GB, free: 11.36 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.807, allocations: 8.031 kB / 1.283 GB, free: 11.35 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009418/0.8079, allocations: 116.6 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.8083, allocations: 223.4 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.8083, allocations: 20.86 kB / 1.283 GB, free: 10.97 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.8085, allocations: 36.7 kB / 1.283 GB, free: 10.94 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007459/0.8092, allocations: 453.3 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.8092, allocations: 8 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.8093, allocations: 8 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001572/0.8094, allocations: 48.44 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006967/0.8101, allocations: 365.7 kB / 1.284 GB, free: 10.04 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.813, allocations: 2.154 MB / 1.286 GB, free: 7.699 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.8134, allocations: 250.6 kB / 1.286 GB, free: 7.449 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.8137, allocations: 140.8 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.8137, allocations: 4 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.8137, allocations: 42.56 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=22): time 1.442e-06/0.8137, allocations: 0 / 1.287 GB, free: 7.254 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=23): time 0.001828/0.8156, allocations: 0.9104 MB / 1.288 GB, free: 6.312 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.8156, allocations: 59.41 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.816, allocations: 256.9 kB / 1.288 GB, free: 5.98 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.816, allocations: 29.7 kB / 1.288 GB, free: 5.945 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.8161, allocations: 192.3 kB / 1.288 GB, free: 5.754 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 7.896e-05/0.8162, allocations: 99.14 kB / 1.288 GB, free: 5.656 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.8163, allocations: 77.64 kB / 1.288 GB, free: 5.574 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001648/0.8165, allocations: 330.8 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.8168, allocations: 159.9 kB / 1.289 GB, free: 5.086 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.8172, allocations: 249.5 kB / 1.289 GB, free: 4.805 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006512/0.8179, allocations: 406.9 kB / 1.289 GB, free: 4.375 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8179, allocations: 0 / 1.289 GB, free: 4.375 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=43) (initialization): time 0.001279/0.8191, allocations: 0.5972 MB / 1.29 GB, free: 3.77 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.8192, allocations: 11.94 kB / 1.29 GB, free: 3.758 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.8192, allocations: 4 kB / 1.29 GB, free: 3.754 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007247/0.8199, allocations: 192.8 kB / 1.29 GB, free: 3.562 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.8202, allocations: 63.89 kB / 1.29 GB, free: 3.5 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/0.8234, allocations: 2.393 MB / 1.293 GB, free: 0.9883 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.8238, allocations: 23.97 kB / 1.293 GB, free: 0.9648 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.8238, allocations: 12 kB / 1.293 GB, free: 0.9531 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.0001961/0.824, allocations: 169.8 kB / 1.293 GB, free: 0.7773 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.8241, allocations: 27.8 kB / 1.293 GB, free: 0.75 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000602/0.8247, allocations: 357.4 kB / 1.293 GB, free: 404 kB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.8247, allocations: 7.984 kB / 1.293 GB, free: 396 kB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.8247, allocations: 0 / 1.293 GB, free: 396 kB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.8247, allocations: 0 / 1.293 GB, free: 396 kB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.8259, allocations: 0.7801 MB / 1.294 GB, free: 15.55 MB / 0.9981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8259, allocations: 0 / 1.294 GB, free: 15.55 MB / 0.9981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.8263, allocations: 75.88 kB / 1.294 GB, free: 15.48 MB / 0.9981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.8263, allocations: 4 kB / 1.294 GB, free: 15.47 MB / 0.9981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.8264, allocations: 8 kB / 1.294 GB, free: 15.46 MB / 0.9981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8264, allocations: 0 / 1.294 GB, free: 15.46 MB / 0.9981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8264, allocations: 3.938 kB / 1.294 GB, free: 15.46 MB / 0.9981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008386/0.8272, allocations: 0.6183 MB / 1.295 GB, free: 14.82 MB / 0.9981 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.8273, allocations: 47.88 kB / 1.295 GB, free: 14.77 MB / 0.9981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.8274, allocations: 11.92 kB / 1.295 GB, free: 14.76 MB / 0.9981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.8276, allocations: 15.98 kB / 1.295 GB, free: 14.75 MB / 0.9981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.8277, allocations: 19.91 kB / 1.295 GB, free: 14.73 MB / 0.9981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.8277, allocations: 8 kB / 1.295 GB, free: 14.72 MB / 0.9981 GB
Notification: Performance of sorting global known variables: time 0.0002535/0.8279, allocations: 192.5 kB / 1.295 GB, free: 14.53 MB / 0.9981 GB
Notification: Performance of sort global known variables: time 1e-07/0.8279, allocations: 0 / 1.295 GB, free: 14.53 MB / 0.9981 GB
Notification: Performance of remove unused functions: time 0.0004212/0.8284, allocations: 88 kB / 1.295 GB, free: 14.45 MB / 0.9981 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.0001588/0.8285, allocations: 107.2 kB / 1.295 GB, free: 14.33 MB / 0.9981 GB
Notification: Performance of simCode: created initialization part: time 0.0009892/0.8295, allocations: 0.5129 MB / 1.295 GB, free: 13.8 MB / 0.9981 GB
Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8295, allocations: 0 / 1.295 GB, free: 13.8 MB / 0.9981 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.8297, allocations: 141.7 kB / 1.296 GB, free: 13.67 MB / 0.9981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.8302, allocations: 64.58 kB / 1.296 GB, free: 13.61 MB / 0.9981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.8317, allocations: 0.8372 MB / 1.297 GB, free: 12.74 MB / 0.9981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.8322, allocations: 0.7989 MB / 1.297 GB, free: 11.91 MB / 0.9981 GB
Notification: Performance of simCode: alias equations: time 0.0002282/0.8324, allocations: 86.89 kB / 1.297 GB, free: 11.83 MB / 0.9981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.308e-05/0.8325, allocations: 23.44 kB / 1.297 GB, free: 11.8 MB / 0.9981 GB
Notification: Performance of SimCode: time 3.31e-07/0.8325, allocations: 0 / 1.297 GB, free: 11.8 MB / 0.9981 GB
Notification: Performance of Templates: time 0.009273/0.8418, allocations: 4.424 MB / 1.302 GB, free: 7.402 MB / 0.9981 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.757239957340062]