Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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.002223/0.002223, 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.002769/0.002769, allocations: 186 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.611/1.611, 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.309/3.309, allocations: 0.4893 GB / 0.7884 GB, free: 33.09 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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance")
translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.83 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.5129, allocations: 174.9 MB / 1.316 GB, free: 9.746 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.006096/0.519, allocations: 3.182 MB / 1.319 GB, free: 6.551 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002748/0.5217, allocations: 1.375 MB / 1.32 GB, free: 5.168 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.5219, allocations: 7.938 kB / 1.32 GB, free: 5.16 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.001242/0.5232, allocations: 350.7 kB / 1.321 GB, free: 4.816 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.5236, allocations: 143.3 kB / 1.321 GB, free: 4.676 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.524, allocations: 139.3 kB / 1.321 GB, free: 4.543 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004629/0.5245, allocations: 314.7 kB / 1.321 GB, free: 4.234 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.525, allocations: 172.7 kB / 1.322 GB, free: 4.066 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.5252, allocations: 123.6 kB / 1.322 GB, free: 3.945 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.5256, allocations: 143.5 kB / 1.322 GB, free: 3.805 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.5256, allocations: 19.94 kB / 1.322 GB, free: 3.785 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.5259, allocations: 183.6 kB / 1.322 GB, free: 3.605 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.526, allocations: 79.73 kB / 1.322 GB, free: 3.527 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.5262, allocations: 115.5 kB / 1.322 GB, free: 3.414 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005204/0.5267, allocations: 330.8 kB / 1.322 GB, free: 3.09 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5267, allocations: 0 / 1.322 GB, free: 3.09 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.843e-06/0.5267, allocations: 0 / 1.322 GB, free: 3.09 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.354e-06/0.5267, allocations: 0 / 1.322 GB, free: 3.09 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: 50
 * Number of variables: 50
Notification: Performance of Generate backend data structure: time 0.0009397/0.5276, allocations: 461.5 kB / 1.323 GB, free: 2.605 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.5277, allocations: 8.031 kB / 1.323 GB, free: 2.598 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006144/0.5283, allocations: 76.72 kB / 1.323 GB, free: 2.523 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.5287, allocations: 190.1 kB / 1.323 GB, free: 2.312 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.5287, allocations: 20.73 kB / 1.323 GB, free: 2.293 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.5287, allocations: 16.38 kB / 1.323 GB, free: 2.277 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005333/0.5292, allocations: 307.5 kB / 1.324 GB, free: 1.953 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5293, allocations: 0 / 1.324 GB, free: 1.953 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.5293, allocations: 12 kB / 1.324 GB, free: 1.941 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/0.5293, allocations: 12.38 kB / 1.324 GB, free: 1.93 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.5297, allocations: 196.9 kB / 1.324 GB, free: 1.738 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.5315, allocations: 1.425 MB / 1.325 GB, free: 160 kB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.5318, allocations: 90.55 kB / 1.325 GB, free: 60 kB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.5318, allocations: 32.84 kB / 1.325 GB, free: 24 kB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.5318, allocations: 0 / 1.325 GB, free: 24 kB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.208e-05/0.5319, allocations: 34.56 kB / 1.325 GB, free: 15.98 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.5319, allocations: 4 kB / 1.325 GB, free: 15.98 MB / 1.029 GB
Notification: Performance of matching and sorting (n=7): time 0.0005066/0.5324, allocations: 150.5 kB / 1.325 GB, free: 15.82 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.5324, allocations: 55.39 kB / 1.325 GB, free: 15.75 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.5327, allocations: 206.1 kB / 1.326 GB, free: 15.54 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.5327, allocations: 25.7 kB / 1.326 GB, free: 15.51 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.5329, allocations: 171.9 kB / 1.326 GB, free: 15.34 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.5329, allocations: 19.86 kB / 1.326 GB, free: 15.32 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.5329, allocations: 45.66 kB / 1.326 GB, free: 15.27 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001869/0.5331, allocations: 326.8 kB / 1.326 GB, free: 14.94 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.267e-05/0.5332, allocations: 32.05 kB / 1.326 GB, free: 14.91 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.5333, allocations: 108.5 kB / 1.326 GB, free: 14.77 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.5335, allocations: 152.3 kB / 1.327 GB, free: 14.59 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.5335, allocations: 0 / 1.327 GB, free: 14.59 MB / 1.029 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003317/0.5339, allocations: 190.1 kB / 1.327 GB, free: 14.4 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5339, allocations: 8 kB / 1.327 GB, free: 14.39 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5339, allocations: 4.281 kB / 1.327 GB, free: 14.39 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/0.5341, allocations: 24.84 kB / 1.327 GB, free: 14.36 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.5342, allocations: 27.98 kB / 1.327 GB, free: 14.33 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.5355, allocations: 1.326 MB / 1.328 GB, free: 12.89 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.5356, allocations: 15.84 kB / 1.328 GB, free: 12.87 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.5356, allocations: 12 kB / 1.328 GB, free: 12.86 MB / 1.029 GB
Notification: Model statistics after passing the back-end for initialization:
 * 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 initialization (17):
 * Single equations (assignments): 16
 * 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
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.5358, allocations: 146.4 kB / 1.328 GB, free: 12.71 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.5358, allocations: 11.91 kB / 1.328 GB, free: 12.7 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.5358, allocations: 21.39 kB / 1.328 GB, free: 12.68 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5358, allocations: 4 kB / 1.328 GB, free: 12.67 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.5358, allocations: 0 / 1.328 GB, free: 12.67 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5358, allocations: 0 / 1.328 GB, free: 12.67 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.5364, allocations: 418.2 kB / 1.329 GB, free: 12.21 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5364, allocations: 4 kB / 1.329 GB, free: 12.21 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.432e-05/0.5364, allocations: 4 kB / 1.329 GB, free: 12.2 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-05/0.5365, allocations: 28.84 kB / 1.329 GB, free: 12.17 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.5365, allocations: 0 / 1.329 GB, free: 12.17 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.5377, allocations: 1.311 MB / 1.33 GB, free: 10.75 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5377, allocations: 4.031 kB / 1.33 GB, free: 10.74 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.5379, allocations: 220.1 kB / 1.33 GB, free: 10.51 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.538, allocations: 19.98 kB / 1.33 GB, free: 10.49 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.538, allocations: 8 kB / 1.33 GB, free: 10.48 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.5381, allocations: 0 / 1.33 GB, free: 10.48 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.5381, allocations: 11.97 kB / 1.33 GB, free: 10.47 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.5381, allocations: 4 kB / 1.33 GB, free: 10.46 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0001533/0.5383, allocations: 140.4 kB / 1.33 GB, free: 10.33 MB / 1.029 GB
Notification: Performance of sort global known variables: time 1e-07/0.5383, allocations: 0 / 1.33 GB, free: 10.33 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0003296/0.5386, allocations: 51.89 kB / 1.33 GB, free: 10.28 MB / 1.029 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 (6):
 * Single equations (assignments): 5
 * 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
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001535/0.5388, allocations: 107.3 kB / 1.331 GB, free: 10.16 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0004406/0.5392, allocations: 206.5 kB / 1.331 GB, free: 9.945 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5392, allocations: 0 / 1.331 GB, free: 9.945 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.5394, allocations: 146.5 kB / 1.331 GB, free: 9.789 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.5398, allocations: 32.55 kB / 1.331 GB, free: 9.758 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007631/0.5405, allocations: 373 kB / 1.331 GB, free: 9.371 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.541, allocations: 0.7515 MB / 1.332 GB, free: 8.594 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 8.556e-05/0.5411, allocations: 18.11 kB / 1.332 GB, free: 8.578 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.5412, allocations: 15.44 kB / 1.332 GB, free: 8.562 MB / 1.029 GB
Notification: Performance of SimCode: time 3.7e-07/0.5412, allocations: 4 kB / 1.332 GB, free: 8.559 MB / 1.029 GB
Notification: Performance of Templates: time 0.005738/0.5469, allocations: 1.873 MB / 1.334 GB, free: 6.707 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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: 10.086889455094934]