Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 109.5 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 189.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 67.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303/1.305, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.005624/1.311, allocations: 1.54 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002167/1.311, allocations: 35.84 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.773e-05/1.311, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000196/1.311, allocations: 11.86 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/1.311, allocations: 7.938 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/1.311, allocations: 19.98 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000164/1.312, allocations: 39.84 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/1.312, allocations: 39.95 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/1.312, allocations: 19.92 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/1.312, allocations: 35.84 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/1.312, allocations: 4 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/1.312, allocations: 4 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/1.312, allocations: 11.98 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/1.312, allocations: 31.75 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/1.313, allocations: 63.59 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.313, allocations: 4 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.026e-06/1.313, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.664e-06/1.313, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005976/1.313, allocations: 361.1 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/1.313, allocations: 12.03 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/1.313, allocations: 16.84 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/1.314, allocations: 180.2 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/1.314, allocations: 4.375 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/1.314, allocations: 4.375 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/1.314, allocations: 104.8 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.314, allocations: 192 / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/1.314, allocations: 3.938 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/1.314, allocations: 4 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/1.314, allocations: 43.91 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009491/1.315, allocations: 0.6401 MB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/1.315, allocations: 165.1 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.54e-05/1.315, allocations: 88.08 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/1.316, allocations: 75.28 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/1.316, allocations: 109.8 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/1.316, allocations: 4 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001182/1.316, allocations: 41.53 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/1.316, allocations: 55.34 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/1.316, allocations: 164.9 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/1.316, allocations: 25.7 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/1.316, allocations: 108 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/1.316, allocations: 7.984 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/1.316, allocations: 17.62 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.317, allocations: 314.8 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/1.317, allocations: 11.98 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.527e-05/1.317, allocations: 22.52 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.465e-05/1.317, allocations: 26.58 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.317, allocations: 3.938 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002094/1.317, allocations: 53.62 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/1.317, allocations: 8 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.317, allocations: 0 / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/1.317, allocations: 3.938 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/1.317, allocations: 7.938 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/1.317, allocations: 4 kB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/1.317, allocations: 8 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/1.317, allocations: 4 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000166/1.317, allocations: 193.1 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.318, allocations: 108.9 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.512e-05/1.318, allocations: 116.8 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.423e-05/1.318, allocations: 184.2 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.237e-05/1.318, allocations: 105 kB / 1.214 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/1.318, allocations: 198 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/1.318, allocations: 176.3 kB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/1.318, allocations: 112.9 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/1.318, allocations: 180.3 kB / 1.214 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001282/1.318, allocations: 259.5 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002293/1.319, allocations: 390.9 kB / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.805e-05/1.319, allocations: 104.9 kB / 1.215 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001669/1.319, allocations: 129.3 kB / 1.215 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of Backend: time 7.52e-07/1.319, allocations: 0 / 1.215 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005805/1.32, allocations: 92.3 kB / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0009104/1.321, allocations: 0.9063 MB / 1.216 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of Templates: time 0.0047/1.325, allocations: 0.5044 MB / 1.216 GB, free: 4.984 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches