Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00133/0.00133, 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.001366/0.001366, allocations: 190.2 kB / 22.23 MB, free: 5.156 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.41/1.41, 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 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.194/3.194, allocations: 0.4893 GB / 0.7884 GB, free: 33.17 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.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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 59.69 kB / 1.145 GB, free: 30.74 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3571, allocations: 174.9 MB / 1.316 GB, free: 9.723 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005678/0.3628, allocations: 3.862 MB / 1.32 GB, free: 5.84 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.003187/0.366, allocations: 1.851 MB / 1.322 GB, free: 3.98 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.3662, allocations: 23.81 kB / 1.322 GB, free: 3.957 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0009075/0.3671, allocations: 282.5 kB / 1.322 GB, free: 3.68 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0006485/0.3677, allocations: 302.5 kB / 1.322 GB, free: 3.383 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.3683, allocations: 258.1 kB / 1.322 GB, free: 3.133 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0007265/0.369, allocations: 0.6052 MB / 1.323 GB, free: 2.523 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.3694, allocations: 206.7 kB / 1.323 GB, free: 2.316 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.3697, allocations: 247.1 kB / 1.323 GB, free: 2.074 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.3701, allocations: 250.9 kB / 1.324 GB, free: 1.828 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.3701, allocations: 24 kB / 1.324 GB, free: 1.805 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004634/0.3706, allocations: 283.4 kB / 1.324 GB, free: 1.527 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3707, allocations: 119.6 kB / 1.324 GB, free: 1.41 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.3709, allocations: 214.9 kB / 1.324 GB, free: 1.199 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007241/0.3717, allocations: 0.5836 MB / 1.325 GB, free: 0.6133 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3717, allocations: 0 / 1.325 GB, free: 0.6133 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.493e-06/0.3717, allocations: 3.938 kB / 1.325 GB, free: 0.6094 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.264e-05/0.3717, allocations: 0 / 1.325 GB, free: 0.6094 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: 85
 * Number of variables: 85
Notification: Performance of Generate backend data structure: time 0.001219/0.3729, allocations: 0.6721 MB / 1.326 GB, free: 15.91 MB / 1.029 GB
Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3729, allocations: 8.031 kB / 1.326 GB, free: 15.9 MB / 1.029 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008561/0.3738, allocations: 140.5 kB / 1.326 GB, free: 15.76 MB / 1.029 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/0.3744, allocations: 345.3 kB / 1.326 GB, free: 15.4 MB / 1.029 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.3744, allocations: 21.02 kB / 1.326 GB, free: 15.38 MB / 1.029 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.3745, allocations: 32.31 kB / 1.326 GB, free: 15.35 MB / 1.029 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/0.3753, allocations: 0.5627 MB / 1.327 GB, free: 14.71 MB / 1.029 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3754, allocations: 0 / 1.327 GB, free: 14.71 MB / 1.029 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.3754, allocations: 15.98 kB / 1.327 GB, free: 14.7 MB / 1.029 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-05/0.3755, allocations: 44.62 kB / 1.327 GB, free: 14.66 MB / 1.029 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007322/0.3762, allocations: 406.1 kB / 1.327 GB, free: 14.26 MB / 1.029 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.3795, allocations: 3.275 MB / 1.33 GB, free: 10.75 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/0.3801, allocations: 319.9 kB / 1.331 GB, free: 10.43 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.3805, allocations: 164.7 kB / 1.331 GB, free: 10.26 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.3805, allocations: 3.938 kB / 1.331 GB, free: 10.26 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.3805, allocations: 38.56 kB / 1.331 GB, free: 10.21 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.3805, allocations: 0 / 1.331 GB, free: 10.21 MB / 1.029 GB
Notification: Performance of matching and sorting (n=27): time 0.002006/0.3825, allocations: 0.8355 MB / 1.332 GB, free: 9.359 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.3826, allocations: 55.64 kB / 1.332 GB, free: 9.293 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.3829, allocations: 345.6 kB / 1.332 GB, free: 8.945 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.383, allocations: 29.7 kB / 1.332 GB, free: 8.91 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.3832, allocations: 252.1 kB / 1.332 GB, free: 8.66 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.3832, allocations: 99.16 kB / 1.332 GB, free: 8.562 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3834, allocations: 78.09 kB / 1.332 GB, free: 8.477 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001729/0.3835, allocations: 342.8 kB / 1.333 GB, free: 8.133 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.3838, allocations: 152.7 kB / 1.333 GB, free: 7.984 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.3842, allocations: 298.5 kB / 1.333 GB, free: 7.629 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/0.385, allocations: 476.6 kB / 1.334 GB, free: 7.102 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.385, allocations: 4 kB / 1.334 GB, free: 7.098 MB / 1.029 GB
Notification: Performance of matching and sorting (n=48) (initialization): time 0.001019/0.386, allocations: 0.567 MB / 1.334 GB, free: 6.516 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.386, allocations: 8 kB / 1.334 GB, free: 6.508 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.386, allocations: 4 kB / 1.334 GB, free: 6.504 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003307/0.3864, allocations: 86.45 kB / 1.334 GB, free: 6.41 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.3867, allocations: 87.88 kB / 1.334 GB, free: 6.324 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.3867, allocations: 11.94 kB / 1.334 GB, free: 6.312 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.3869, allocations: 36.09 kB / 1.334 GB, free: 6.277 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.387, allocations: 16 kB / 1.334 GB, free: 6.262 MB / 1.029 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.0002106/0.3872, allocations: 173.7 kB / 1.335 GB, free: 6.082 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.3873, allocations: 39.77 kB / 1.335 GB, free: 6.043 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009225/0.3882, allocations: 472 kB / 1.335 GB, free: 5.562 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.3882, allocations: 7.938 kB / 1.335 GB, free: 5.555 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3882, allocations: 0 / 1.335 GB, free: 5.555 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3882, allocations: 3.984 kB / 1.335 GB, free: 5.551 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.3897, allocations: 0.9325 MB / 1.336 GB, free: 4.551 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3898, allocations: 0 / 1.336 GB, free: 4.551 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.39, allocations: 47.95 kB / 1.336 GB, free: 4.504 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.3902, allocations: 82.45 kB / 1.336 GB, free: 4.414 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.3902, allocations: 11.98 kB / 1.336 GB, free: 4.402 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3902, allocations: 0 / 1.336 GB, free: 4.402 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3903, allocations: 12.03 kB / 1.336 GB, free: 4.391 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008347/0.3911, allocations: 0.5406 MB / 1.337 GB, free: 3.816 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.3912, allocations: 55.73 kB / 1.337 GB, free: 3.762 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.3913, allocations: 11.98 kB / 1.337 GB, free: 3.75 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.3915, allocations: 23.97 kB / 1.337 GB, free: 3.727 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.3916, allocations: 31.84 kB / 1.337 GB, free: 3.695 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3916, allocations: 7.984 kB / 1.337 GB, free: 3.688 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0002452/0.3918, allocations: 239.2 kB / 1.337 GB, free: 3.457 MB / 1.029 GB
Notification: Performance of sort global known variables: time 1e-07/0.3918, allocations: 0 / 1.337 GB, free: 3.457 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004099/0.3922, allocations: 84 kB / 1.337 GB, free: 3.375 MB / 1.029 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.0001371/0.3924, allocations: 106.3 kB / 1.337 GB, free: 3.262 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0008377/0.3932, allocations: 395.9 kB / 1.338 GB, free: 2.867 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3932, allocations: 0 / 1.338 GB, free: 2.867 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003749/0.3936, allocations: 190.3 kB / 1.338 GB, free: 2.672 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.3942, allocations: 123.5 kB / 1.338 GB, free: 2.551 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.3954, allocations: 0.7425 MB / 1.339 GB, free: 1.773 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.3959, allocations: 0.8234 MB / 1.339 GB, free: 0.9219 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0002258/0.3961, allocations: 83.34 kB / 1.339 GB, free: 0.8398 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.877e-05/0.3962, allocations: 27.44 kB / 1.339 GB, free: 0.8125 MB / 1.029 GB
Notification: Performance of SimCode: time 3.1e-07/0.3962, allocations: 0 / 1.339 GB, free: 0.8125 MB / 1.029 GB
Notification: Performance of Templates: time 0.0102/0.4064, allocations: 4.964 MB / 1.344 GB, free: 11.91 MB / 1.045 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.048673306591809]