Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001738/0.001738, 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.002119/0.002119, allocations: 190.3 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.485/1.485, 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.26/3.26, allocations: 495.7 MB / 0.7831 GB, free: 33.49 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad")
translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 61.5 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4053, allocations: 173.6 MB / 1.307 GB, free: 1.957 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005435/0.4108, allocations: 3.19 MB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.003379/0.4141, allocations: 1.979 MB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.4143, allocations: 11.88 kB / 1.312 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.00106/0.4154, allocations: 290.9 kB / 1.312 GB, free: 12.47 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0005317/0.4159, allocations: 199.1 kB / 1.312 GB, free: 12.27 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007318/0.4166, allocations: 255.2 kB / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004229/0.4171, allocations: 322.7 kB / 1.313 GB, free: 11.71 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.4174, allocations: 125.2 kB / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.4176, allocations: 139.5 kB / 1.313 GB, free: 11.44 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.4179, allocations: 163.4 kB / 1.313 GB, free: 11.28 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.418, allocations: 20 kB / 1.313 GB, free: 11.26 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007182/0.4187, allocations: 407.2 kB / 1.314 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.4188, allocations: 95.73 kB / 1.314 GB, free: 10.77 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.00015/0.419, allocations: 119.5 kB / 1.314 GB, free: 10.65 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008066/0.4198, allocations: 494.2 kB / 1.315 GB, free: 10.17 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4198, allocations: 0 / 1.315 GB, free: 10.17 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.262e-06/0.4198, allocations: 0 / 1.315 GB, free: 10.17 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.142e-06/0.4198, allocations: 0 / 1.315 GB, free: 10.17 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: 55
 * Number of variables: 55
Notification: Performance of Generate backend data structure: time 0.0009617/0.4207, allocations: 0.4894 MB / 1.315 GB, free: 9.648 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4208, allocations: 8.031 kB / 1.315 GB, free: 9.641 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008426/0.4216, allocations: 112.6 kB / 1.315 GB, free: 9.531 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.422, allocations: 209 kB / 1.315 GB, free: 9.305 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.422, allocations: 16.8 kB / 1.315 GB, free: 9.289 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.4221, allocations: 20.31 kB / 1.315 GB, free: 9.27 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/0.4227, allocations: 361 kB / 1.316 GB, free: 8.891 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4227, allocations: 0 / 1.316 GB, free: 8.891 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.4227, allocations: 8 kB / 1.316 GB, free: 8.883 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.763e-05/0.4227, allocations: 28.41 kB / 1.316 GB, free: 8.855 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.4233, allocations: 293.5 kB / 1.316 GB, free: 8.57 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.4256, allocations: 1.631 MB / 1.318 GB, free: 6.797 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.4261, allocations: 241 kB / 1.318 GB, free: 6.543 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.4263, allocations: 101.7 kB / 1.318 GB, free: 6.438 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.886e-05/0.4264, allocations: 15.94 kB / 1.318 GB, free: 6.422 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.4264, allocations: 34.56 kB / 1.318 GB, free: 6.379 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.4264, allocations: 0 / 1.318 GB, free: 6.379 MB / 1.014 GB
Notification: Performance of matching and sorting (n=23): time 0.002712/0.4291, allocations: 0.9003 MB / 1.319 GB, free: 5.461 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.4292, allocations: 85.05 kB / 1.319 GB, free: 5.359 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.4294, allocations: 207.7 kB / 1.319 GB, free: 5.145 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.4295, allocations: 33.7 kB / 1.319 GB, free: 5.105 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.4296, allocations: 180.4 kB / 1.319 GB, free: 4.926 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/0.4297, allocations: 83.28 kB / 1.319 GB, free: 4.844 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.4298, allocations: 65.78 kB / 1.319 GB, free: 4.773 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001583/0.4299, allocations: 334.8 kB / 1.32 GB, free: 4.438 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.4302, allocations: 131.8 kB / 1.32 GB, free: 4.309 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.4305, allocations: 210.8 kB / 1.32 GB, free: 4.07 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005409/0.431, allocations: 376.4 kB / 1.32 GB, free: 3.672 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.431, allocations: 0 / 1.32 GB, free: 3.672 MB / 1.014 GB
Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009635/0.432, allocations: 0.5082 MB / 1.321 GB, free: 3.148 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.432, allocations: 8 kB / 1.321 GB, free: 3.141 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.432, allocations: 0 / 1.321 GB, free: 3.141 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.4326, allocations: 155.2 kB / 1.321 GB, free: 2.977 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.4328, allocations: 55.91 kB / 1.321 GB, free: 2.922 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003671/0.4365, allocations: 3.988 MB / 1.325 GB, free: 14.65 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.4367, allocations: 20.02 kB / 1.325 GB, free: 14.63 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.4367, allocations: 12.16 kB / 1.325 GB, free: 14.62 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): 28
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(1,1), (1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.000211/0.4369, allocations: 169.7 kB / 1.325 GB, free: 14.45 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.437, allocations: 23.8 kB / 1.325 GB, free: 14.42 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009461/0.438, allocations: 470.6 kB / 1.326 GB, free: 13.95 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.438, allocations: 4 kB / 1.326 GB, free: 13.94 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.438, allocations: 4 kB / 1.326 GB, free: 13.94 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.438, allocations: 0 / 1.326 GB, free: 13.94 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.4397, allocations: 0.9716 MB / 1.327 GB, free: 12.88 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.4397, allocations: 4.25 kB / 1.327 GB, free: 12.88 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.4399, allocations: 35.92 kB / 1.327 GB, free: 12.84 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/0.4403, allocations: 139.3 kB / 1.327 GB, free: 12.69 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.4403, allocations: 11.94 kB / 1.327 GB, free: 12.68 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/0.4438, allocations: 3.949 MB / 1.331 GB, free: 8.449 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4438, allocations: 0 / 1.331 GB, free: 8.449 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009332/0.4447, allocations: 0.6282 MB / 1.331 GB, free: 7.77 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.4449, allocations: 51.77 kB / 1.331 GB, free: 7.719 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.4449, allocations: 11.94 kB / 1.331 GB, free: 7.707 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.4452, allocations: 19.98 kB / 1.331 GB, free: 7.688 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.4452, allocations: 27.89 kB / 1.331 GB, free: 7.66 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.4452, allocations: 8 kB / 1.331 GB, free: 7.652 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0001842/0.4454, allocations: 161.5 kB / 1.332 GB, free: 7.496 MB / 1.029 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.4454, allocations: 0 / 1.332 GB, free: 7.496 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0005513/0.446, allocations: 91.92 kB / 1.332 GB, free: 7.406 MB / 1.029 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 10
 * 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 (21):
 * Single equations (assignments): 17
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(1,1), (1,2)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002337/0.4462, allocations: 135.9 kB / 1.332 GB, free: 7.262 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.001082/0.4473, allocations: 0.5681 MB / 1.332 GB, free: 6.668 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4473, allocations: 0 / 1.332 GB, free: 6.668 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.4479, allocations: 398 kB / 1.333 GB, free: 6.254 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.4484, allocations: 48.5 kB / 1.333 GB, free: 6.215 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.4497, allocations: 0.6297 MB / 1.333 GB, free: 5.531 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.4502, allocations: 0.7831 MB / 1.334 GB, free: 4.723 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001805/0.4504, allocations: 58.25 kB / 1.334 GB, free: 4.668 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.4504, allocations: 23.44 kB / 1.334 GB, free: 4.645 MB / 1.029 GB
Notification: Performance of SimCode: time 6.62e-07/0.4504, allocations: 0 / 1.334 GB, free: 4.645 MB / 1.029 GB
Notification: Performance of Templates: time 0.009842/0.4603, allocations: 4.448 MB / 1.339 GB, free: 220 kB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.233953258953989]