Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001822/0.001822, allocations: 110 kB / 18.93 MB, free: 2.945 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.002118/0.002118, allocations: 191.5 kB / 22.23 MB, free: 5.16 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.435/1.435, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.248/3.248, allocations: 496 MB / 0.7835 GB, free: 33.66 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-maint.12.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_12_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_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 64.73 kB / 1.138 GB, free: 33.73 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3813, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005606/0.3869, allocations: 3.384 MB / 1.311 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.003683/0.3906, allocations: 2.08 MB / 1.313 GB, free: 12.33 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.3907, allocations: 7.938 kB / 1.313 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.001043/0.3918, allocations: 302.7 kB / 1.313 GB, free: 12.03 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0006423/0.3924, allocations: 242.9 kB / 1.313 GB, free: 11.79 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007796/0.3932, allocations: 287.3 kB / 1.313 GB, free: 11.51 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005337/0.3937, allocations: 406.7 kB / 1.314 GB, free: 11.11 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.3941, allocations: 168.1 kB / 1.314 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.3943, allocations: 163.4 kB / 1.314 GB, free: 10.78 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004109/0.3947, allocations: 211.3 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.3948, allocations: 24 kB / 1.314 GB, free: 10.55 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005093/0.3953, allocations: 271.5 kB / 1.315 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.000143/0.3954, allocations: 123.6 kB / 1.315 GB, free: 10.16 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.3956, allocations: 147.3 kB / 1.315 GB, free: 10.02 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006524/0.3962, allocations: 498.2 kB / 1.315 GB, free: 9.531 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3962, allocations: 0 / 1.315 GB, free: 9.531 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.303e-06/0.3962, allocations: 3.938 kB / 1.315 GB, free: 9.527 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.897e-06/0.3963, allocations: 0 / 1.315 GB, free: 9.527 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.001142/0.3974, allocations: 0.5323 MB / 1.316 GB, free: 8.965 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3974, allocations: 8.922 kB / 1.316 GB, free: 8.957 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009886/0.3984, allocations: 124.6 kB / 1.316 GB, free: 8.836 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.3988, allocations: 216.2 kB / 1.316 GB, free: 8.598 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.3988, allocations: 20.88 kB / 1.316 GB, free: 8.578 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.399, allocations: 40.67 kB / 1.316 GB, free: 8.539 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007729/0.3997, allocations: 453.3 kB / 1.317 GB, free: 8.059 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.3997, allocations: 0 / 1.317 GB, free: 8.059 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.3998, allocations: 15.98 kB / 1.317 GB, free: 8.043 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001411/0.3999, allocations: 40.47 kB / 1.317 GB, free: 8.004 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006875/0.4006, allocations: 369.7 kB / 1.317 GB, free: 7.645 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.4035, allocations: 2.15 MB / 1.319 GB, free: 5.305 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.404, allocations: 254.3 kB / 1.319 GB, free: 5.047 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.4042, allocations: 144.8 kB / 1.32 GB, free: 4.902 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.4042, allocations: 4 kB / 1.32 GB, free: 4.898 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.4043, allocations: 34.56 kB / 1.32 GB, free: 4.855 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=22): time 1.522e-06/0.4043, allocations: 4 kB / 1.32 GB, free: 4.852 MB / 1.014 GB
Notification: Performance of matching and sorting (n=23): time 0.001858/0.4061, allocations: 0.9018 MB / 1.321 GB, free: 3.918 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.4062, allocations: 55.41 kB / 1.321 GB, free: 3.852 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.4065, allocations: 260.9 kB / 1.321 GB, free: 3.586 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.4066, allocations: 29.7 kB / 1.321 GB, free: 3.551 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.4067, allocations: 196.3 kB / 1.321 GB, free: 3.355 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.4068, allocations: 87.28 kB / 1.321 GB, free: 3.27 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.4069, allocations: 77.62 kB / 1.321 GB, free: 3.188 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000172/0.4071, allocations: 334.8 kB / 1.321 GB, free: 2.852 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.4074, allocations: 155.9 kB / 1.322 GB, free: 2.699 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.4078, allocations: 250.2 kB / 1.322 GB, free: 2.418 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/0.4084, allocations: 411.9 kB / 1.322 GB, free: 1.984 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4084, allocations: 0 / 1.322 GB, free: 1.984 MB / 1.014 GB
Notification: Performance of matching and sorting (n=43) (initialization): time 0.001277/0.4097, allocations: 0.5934 MB / 1.323 GB, free: 1.383 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4097, allocations: 10.34 kB / 1.323 GB, free: 1.375 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4097, allocations: 0 / 1.323 GB, free: 1.375 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007497/0.4104, allocations: 200.7 kB / 1.323 GB, free: 1.176 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.4108, allocations: 63.89 kB / 1.323 GB, free: 1.113 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.4139, allocations: 2.388 MB / 1.325 GB, free: 14.61 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.4143, allocations: 23.98 kB / 1.325 GB, free: 14.59 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.4143, allocations: 15.98 kB / 1.325 GB, free: 14.57 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.0002117/0.4146, allocations: 165.7 kB / 1.326 GB, free: 14.4 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.4146, allocations: 31.86 kB / 1.326 GB, free: 14.37 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/0.4152, allocations: 362 kB / 1.326 GB, free: 14.01 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.4152, allocations: 7.984 kB / 1.326 GB, free: 14 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.4152, allocations: 0 / 1.326 GB, free: 14 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4153, allocations: 0 / 1.326 GB, free: 14 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.4164, allocations: 0.784 MB / 1.327 GB, free: 13.16 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4164, allocations: 4 kB / 1.327 GB, free: 13.16 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.4168, allocations: 79.94 kB / 1.327 GB, free: 13.08 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4168, allocations: 0 / 1.327 GB, free: 13.08 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.4169, allocations: 8 kB / 1.327 GB, free: 13.07 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4169, allocations: 4 kB / 1.327 GB, free: 13.07 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4169, allocations: 0 / 1.327 GB, free: 13.07 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000815/0.4177, allocations: 0.6066 MB / 1.327 GB, free: 12.44 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.4178, allocations: 63.8 kB / 1.328 GB, free: 12.38 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.4179, allocations: 8 kB / 1.328 GB, free: 12.37 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.4181, allocations: 15.92 kB / 1.328 GB, free: 12.36 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.4182, allocations: 23.84 kB / 1.328 GB, free: 12.33 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.4182, allocations: 4 kB / 1.328 GB, free: 12.33 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0002571/0.4184, allocations: 188.5 kB / 1.328 GB, free: 12.14 MB / 1.029 GB
Notification: Performance of sort global known variables: time 1e-07/0.4184, allocations: 0 / 1.328 GB, free: 12.14 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004712/0.4189, allocations: 92 kB / 1.328 GB, free: 12.05 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.0001763/0.4191, allocations: 112 kB / 1.328 GB, free: 11.93 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.001026/0.4201, allocations: 0.5104 MB / 1.328 GB, free: 11.41 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4201, allocations: 0 / 1.328 GB, free: 11.41 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.4203, allocations: 134.3 kB / 1.329 GB, free: 11.28 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.4208, allocations: 58.55 kB / 1.329 GB, free: 11.23 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.4224, allocations: 0.8372 MB / 1.329 GB, free: 10.36 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.4228, allocations: 0.8028 MB / 1.33 GB, free: 9.531 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0002415/0.4231, allocations: 74.91 kB / 1.33 GB, free: 9.457 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.771e-05/0.4232, allocations: 23.42 kB / 1.33 GB, free: 9.434 MB / 1.029 GB
Notification: Performance of SimCode: time 1.142e-06/0.4232, allocations: 0 / 1.33 GB, free: 9.434 MB / 1.029 GB
Notification: Performance of Templates: time 0.009952/0.4331, allocations: 4.434 MB / 1.335 GB, free: 5.02 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.345746595412493]