Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001333/0.001333, 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.001384/0.001384, allocations: 189 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.459/1.459, allocations: 225.6 MB / 251 MB, free: 13.03 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.716/2.716, allocations: 476.7 MB / 0.7646 GB, free: 9.859 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.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance")
translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 67.89 kB / 1.11 GB, free: 6.309 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8411/0.8432, allocations: 168.8 MB / 1.274 GB, free: 4.223 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005731/0.8489, allocations: 3.858 MB / 1.278 GB, free: 356 kB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.003249/0.8521, allocations: 1.855 MB / 1.28 GB, free: 14.48 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.8524, allocations: 23.75 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 0.0009382/0.8533, allocations: 278.6 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 0.0006634/0.854, allocations: 310.4 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.8545, allocations: 257.2 kB / 1.281 GB, free: 13.63 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.000729/0.8553, allocations: 0.6091 MB / 1.281 GB, free: 13.02 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000384/0.8557, allocations: 194.9 kB / 1.282 GB, free: 12.82 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.856, allocations: 235.2 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003619/0.8564, allocations: 247 kB / 1.282 GB, free: 12.35 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.8564, allocations: 28 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.8569, allocations: 287.4 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 0.000149/0.8571, allocations: 127.6 kB / 1.282 GB, free: 11.92 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.8573, allocations: 210.8 kB / 1.283 GB, free: 11.71 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007292/0.858, allocations: 0.5898 MB / 1.283 GB, free: 11.12 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.858, allocations: 0 / 1.283 GB, free: 11.12 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.253e-06/0.858, allocations: 0 / 1.283 GB, free: 11.12 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 1.44e-05/0.858, allocations: 4 kB / 1.283 GB, free: 11.12 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: 85
 * Number of variables: 85
Notification: Performance of Generate backend data structure: time 0.001194/0.8592, allocations: 0.6643 MB / 1.284 GB, free: 10.43 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.8593, allocations: 15.97 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008727/0.8601, allocations: 140.5 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006167/0.8607, allocations: 341.4 kB / 1.284 GB, free: 9.91 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.8608, allocations: 25.02 kB / 1.284 GB, free: 9.887 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.8608, allocations: 28.38 kB / 1.284 GB, free: 9.859 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008674/0.8617, allocations: 0.5511 MB / 1.285 GB, free: 9.238 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.8617, allocations: 7.938 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.8618, allocations: 19.98 kB / 1.285 GB, free: 9.211 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.976e-05/0.8618, allocations: 40.62 kB / 1.285 GB, free: 9.168 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007367/0.8626, allocations: 410 kB / 1.285 GB, free: 8.77 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/0.8657, allocations: 3.267 MB / 1.289 GB, free: 5.266 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006999/0.8664, allocations: 314.3 kB / 1.289 GB, free: 4.949 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.8667, allocations: 168.7 kB / 1.289 GB, free: 4.781 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.8667, allocations: 4 kB / 1.289 GB, free: 4.777 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.8668, allocations: 34.56 kB / 1.289 GB, free: 4.734 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=26): time 1.833e-06/0.8668, allocations: 0 / 1.289 GB, free: 4.734 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=27): time 0.002036/0.8688, allocations: 0.8461 MB / 1.29 GB, free: 3.875 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.8688, allocations: 51.64 kB / 1.29 GB, free: 3.812 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.8692, allocations: 345.6 kB / 1.29 GB, free: 3.465 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 3e-05/0.8693, allocations: 37.64 kB / 1.29 GB, free: 3.422 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.8694, allocations: 256.1 kB / 1.291 GB, free: 3.168 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 8.84e-05/0.8695, allocations: 95.17 kB / 1.291 GB, free: 3.074 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.8696, allocations: 78.08 kB / 1.291 GB, free: 2.992 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001633/0.8698, allocations: 342.8 kB / 1.291 GB, free: 2.648 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.8701, allocations: 148.8 kB / 1.291 GB, free: 2.504 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.8705, allocations: 290.5 kB / 1.291 GB, free: 2.152 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007146/0.8712, allocations: 482.5 kB / 1.292 GB, free: 1.617 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8712, allocations: 0 / 1.292 GB, free: 1.617 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=48) (initialization): time 0.001038/0.8722, allocations: 0.574 MB / 1.292 GB, free: 1.027 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.8723, allocations: 8 kB / 1.292 GB, free: 1.02 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.8723, allocations: 4 kB / 1.292 GB, free: 1.016 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003339/0.8726, allocations: 86.5 kB / 1.293 GB, free: 0.9219 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.873, allocations: 87.83 kB / 1.293 GB, free: 0.8359 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.873, allocations: 7.984 kB / 1.293 GB, free: 0.8281 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.8732, allocations: 31.91 kB / 1.293 GB, free: 0.7969 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.8733, allocations: 20.03 kB / 1.293 GB, free: 0.7773 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 21
 * 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 (45):
 * Single equations (assignments): 42
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 3
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 3 systems
   {(2,100.0%), (2,100.0%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.8735, allocations: 177.6 kB / 1.293 GB, free: 0.5938 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/0.8735, allocations: 39.77 kB / 1.293 GB, free: 0.5547 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009345/0.8745, allocations: 472.3 kB / 1.293 GB, free: 80 kB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.8745, allocations: 4 kB / 1.293 GB, free: 76 kB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8745, allocations: 0 / 1.293 GB, free: 76 kB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.8745, allocations: 4 kB / 1.293 GB, free: 72 kB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.8761, allocations: 0.9355 MB / 1.294 GB, free: 15.07 MB / 0.9981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.8761, allocations: 0 / 1.294 GB, free: 15.07 MB / 0.9981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.8763, allocations: 47.91 kB / 1.294 GB, free: 15.02 MB / 0.9981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002546/0.8766, allocations: 82.5 kB / 1.294 GB, free: 14.93 MB / 0.9981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.8766, allocations: 8 kB / 1.294 GB, free: 14.92 MB / 0.9981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.8766, allocations: 0 / 1.294 GB, free: 14.92 MB / 0.9981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.8766, allocations: 3.938 kB / 1.294 GB, free: 14.92 MB / 0.9981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/0.8775, allocations: 0.5487 MB / 1.295 GB, free: 14.34 MB / 0.9981 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.8776, allocations: 59.69 kB / 1.295 GB, free: 14.28 MB / 0.9981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.8777, allocations: 12 kB / 1.295 GB, free: 14.27 MB / 0.9981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.8779, allocations: 19.97 kB / 1.295 GB, free: 14.25 MB / 0.9981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.878, allocations: 27.89 kB / 1.295 GB, free: 14.22 MB / 0.9981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.878, allocations: 11.94 kB / 1.295 GB, free: 14.21 MB / 0.9981 GB
Notification: Performance of sorting global known variables: time 0.0002478/0.8782, allocations: 235.1 kB / 1.295 GB, free: 13.98 MB / 0.9981 GB
Notification: Performance of sort global known variables: time 8e-08/0.8782, allocations: 0 / 1.295 GB, free: 13.98 MB / 0.9981 GB
Notification: Performance of remove unused functions: time 0.0004208/0.8787, allocations: 92 kB / 1.295 GB, free: 13.89 MB / 0.9981 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * 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 simulation (25):
 * Single equations (assignments): 22
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 3
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 3 systems
   {(2,100.0%), (2,100.0%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001437/0.8788, allocations: 111.2 kB / 1.295 GB, free: 13.77 MB / 0.9981 GB
Notification: Performance of simCode: created initialization part: time 0.0008426/0.8796, allocations: 391.2 kB / 1.296 GB, free: 13.38 MB / 0.9981 GB
Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.8796, allocations: 0 / 1.296 GB, free: 13.38 MB / 0.9981 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.88, allocations: 202.3 kB / 1.296 GB, free: 13.17 MB / 0.9981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.8807, allocations: 125.8 kB / 1.296 GB, free: 13.05 MB / 0.9981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.8819, allocations: 0.7386 MB / 1.297 GB, free: 12.27 MB / 0.9981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.8824, allocations: 0.8195 MB / 1.298 GB, free: 11.43 MB / 0.9981 GB
Notification: Performance of simCode: alias equations: time 0.0002352/0.8826, allocations: 83.34 kB / 1.298 GB, free: 11.35 MB / 0.9981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.21e-05/0.8827, allocations: 31.44 kB / 1.298 GB, free: 11.32 MB / 0.9981 GB
Notification: Performance of SimCode: time 4.91e-07/0.8827, allocations: 0 / 1.298 GB, free: 11.32 MB / 0.9981 GB
Notification: Performance of Templates: time 0.01051/0.8932, allocations: 4.963 MB / 1.303 GB, free: 6.422 MB / 0.9981 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.915758266113698]