Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001418/0.001418, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.00157/0.00157, allocations: 187.9 kB / 22.23 MB, free: 5.137 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.446/1.446, 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 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.907/2.907, allocations: 476.7 MB / 0.7646 GB, free: 9.852 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.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_11_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_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.91 kB / 1.11 GB, free: 6.293 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8053, allocations: 168.8 MB / 1.274 GB, free: 4.164 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005283/0.8105, allocations: 3.191 MB / 1.277 GB, free: 0.9648 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.003453/0.814, allocations: 1.978 MB / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.8142, allocations: 7.938 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 0.001016/0.8152, allocations: 299.9 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 0.0005086/0.8157, allocations: 199.1 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006813/0.8164, allocations: 246.6 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.0004248/0.8168, allocations: 330.8 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.8172, allocations: 133.2 kB / 1.281 GB, free: 13.79 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.8174, allocations: 131.6 kB / 1.281 GB, free: 13.66 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.8177, allocations: 167.4 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.8178, allocations: 20 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007294/0.8185, allocations: 403.2 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.8186, allocations: 91.67 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.8188, allocations: 123.4 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007183/0.8195, allocations: 493 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8195, allocations: 4 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.152e-06/0.8195, allocations: 0 / 1.282 GB, free: 12.38 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 1.219e-05/0.8195, allocations: 0 / 1.282 GB, free: 12.38 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: 55
 * Number of variables: 55
Notification: Performance of Generate backend data structure: time 0.0009606/0.8205, allocations: 0.4932 MB / 1.282 GB, free: 11.86 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.8205, allocations: 8.031 kB / 1.282 GB, free: 11.85 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008456/0.8214, allocations: 112.6 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.8217, allocations: 211.1 kB / 1.283 GB, free: 11.51 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.8218, allocations: 16.8 kB / 1.283 GB, free: 11.49 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.8218, allocations: 16.38 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.8224, allocations: 353.1 kB / 1.283 GB, free: 11.11 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.8224, allocations: 3.938 kB / 1.283 GB, free: 11.11 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.8225, allocations: 8 kB / 1.283 GB, free: 11.1 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.546e-05/0.8225, allocations: 24.42 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005072/0.823, allocations: 297.5 kB / 1.283 GB, free: 10.78 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.8254, allocations: 1.624 MB / 1.285 GB, free: 9.016 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.8259, allocations: 241 kB / 1.285 GB, free: 8.762 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.8261, allocations: 101.7 kB / 1.285 GB, free: 8.656 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.073e-05/0.8262, allocations: 15.92 kB / 1.285 GB, free: 8.641 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.8262, allocations: 42.5 kB / 1.285 GB, free: 8.59 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.8262, allocations: 0 / 1.285 GB, free: 8.59 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=23): time 0.002669/0.8289, allocations: 0.8926 MB / 1.286 GB, free: 7.68 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.829, allocations: 89.08 kB / 1.286 GB, free: 7.574 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.8292, allocations: 215.7 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.8292, allocations: 25.7 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.8294, allocations: 176.4 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 7.924e-05/0.8294, allocations: 87.27 kB / 1.287 GB, free: 7.059 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.8296, allocations: 61.69 kB / 1.287 GB, free: 6.992 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001662/0.8297, allocations: 326.8 kB / 1.287 GB, free: 6.664 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.8299, allocations: 127.9 kB / 1.287 GB, free: 6.539 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.8302, allocations: 219.3 kB / 1.287 GB, free: 6.293 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.8307, allocations: 363.3 kB / 1.288 GB, free: 5.906 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.8307, allocations: 8 kB / 1.288 GB, free: 5.898 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009518/0.8317, allocations: 0.5102 MB / 1.288 GB, free: 5.371 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.8317, allocations: 6.188 kB / 1.288 GB, free: 5.367 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.8317, allocations: 4.312 kB / 1.288 GB, free: 5.363 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.8323, allocations: 147.3 kB / 1.288 GB, free: 5.207 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.8325, allocations: 60 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.8361, allocations: 3.999 MB / 1.292 GB, free: 0.8672 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.8364, allocations: 15.98 kB / 1.292 GB, free: 0.8516 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.8364, allocations: 12 kB / 1.292 GB, free: 0.8398 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): 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.0002173/0.8366, allocations: 173.8 kB / 1.293 GB, free: 0.6602 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.8367, allocations: 23.86 kB / 1.293 GB, free: 0.6367 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009604/0.8376, allocations: 472.3 kB / 1.293 GB, free: 160 kB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.8377, allocations: 7.984 kB / 1.293 GB, free: 152 kB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.8377, allocations: 3.938 kB / 1.293 GB, free: 148 kB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8377, allocations: 0 / 1.293 GB, free: 148 kB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.8394, allocations: 0.9716 MB / 1.294 GB, free: 15.09 MB / 0.9981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.8394, allocations: 4 kB / 1.294 GB, free: 15.08 MB / 0.9981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.8396, allocations: 31.92 kB / 1.294 GB, free: 15.05 MB / 0.9981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/0.84, allocations: 143.6 kB / 1.294 GB, free: 14.9 MB / 0.9981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.8401, allocations: 8 kB / 1.294 GB, free: 14.89 MB / 0.9981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003408/0.8435, allocations: 3.956 MB / 1.298 GB, free: 10.66 MB / 0.9981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.8435, allocations: 8 kB / 1.298 GB, free: 10.65 MB / 0.9981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009182/0.8444, allocations: 0.6139 MB / 1.299 GB, free: 9.98 MB / 0.9981 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.8445, allocations: 55.83 kB / 1.299 GB, free: 9.926 MB / 0.9981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.8446, allocations: 15.94 kB / 1.299 GB, free: 9.91 MB / 0.9981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.8448, allocations: 15.98 kB / 1.299 GB, free: 9.895 MB / 0.9981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.8448, allocations: 23.95 kB / 1.299 GB, free: 9.871 MB / 0.9981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.8449, allocations: 8 kB / 1.299 GB, free: 9.863 MB / 0.9981 GB
Notification: Performance of sorting global known variables: time 0.0001686/0.845, allocations: 156.2 kB / 1.299 GB, free: 9.711 MB / 0.9981 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.845, allocations: 3.938 kB / 1.299 GB, free: 9.707 MB / 0.9981 GB
Notification: Performance of remove unused functions: time 0.0005335/0.8456, allocations: 91.92 kB / 1.299 GB, free: 9.617 MB / 0.9981 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.0002185/0.8458, allocations: 137.3 kB / 1.299 GB, free: 9.473 MB / 0.9981 GB
Notification: Performance of simCode: created initialization part: time 0.001044/0.8468, allocations: 0.5666 MB / 1.3 GB, free: 8.883 MB / 0.9981 GB
Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.8468, allocations: 0 / 1.3 GB, free: 8.883 MB / 0.9981 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005985/0.8474, allocations: 397.9 kB / 1.3 GB, free: 8.469 MB / 0.9981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.848, allocations: 50.09 kB / 1.3 GB, free: 8.422 MB / 0.9981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.8491, allocations: 0.6242 MB / 1.301 GB, free: 7.746 MB / 0.9981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.8496, allocations: 0.787 MB / 1.302 GB, free: 6.934 MB / 0.9981 GB
Notification: Performance of simCode: alias equations: time 0.0001689/0.8498, allocations: 58.25 kB / 1.302 GB, free: 6.879 MB / 0.9981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.8498, allocations: 19.44 kB / 1.302 GB, free: 6.859 MB / 0.9981 GB
Notification: Performance of SimCode: time 4.61e-07/0.8498, allocations: 0 / 1.302 GB, free: 6.859 MB / 0.9981 GB
Notification: Performance of Templates: time 0.009755/0.8596, allocations: 4.458 MB / 1.306 GB, free: 2.426 MB / 0.9981 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.188696288503706]