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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001049/0.001049, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.479/1.479, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.784/2.784, allocations: 462.6 MB / 0.737 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003965, allocations: 14.19 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3963, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001635/0.398, allocations: 1.256 MB / 1.061 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.89e-05/0.3981, allocations: 31.86 kB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.3981, allocations: 0 / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.3983, allocations: 11.92 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.279e-05/0.3983, allocations: 7.922 kB / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000102/0.3984, allocations: 15.98 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.469e-05/0.3985, allocations: 47.84 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.3986, allocations: 35.88 kB / 1.061 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.977e-05/0.3987, allocations: 15.92 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.3987, allocations: 19.86 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.3988, allocations: 0 / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.3988, allocations: 4 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.3988, allocations: 15.98 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.3989, allocations: 53.5 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.91e-05/0.399, allocations: 40.16 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.399, allocations: 0 / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.352e-06/0.399, allocations: 0 / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.399, allocations: 0 / 1.061 GB, free: 3.344 MB / 0.8106 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.0003496/0.3993, allocations: 347.4 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3994, allocations: 11.97 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.3994, allocations: 8.844 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.3996, allocations: 192.2 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3996, allocations: 12.31 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.3996, allocations: 4.375 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3998, allocations: 92.8 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3998, allocations: 192 / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3998, allocations: 15.88 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3998, allocations: 0 / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.988e-05/0.3999, allocations: 43.97 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.4005, allocations: 0.6362 MB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.085e-05/0.4006, allocations: 173.1 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.4006, allocations: 84.14 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.4006, allocations: 79.28 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.4007, allocations: 109.8 kB / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4007, allocations: 0 / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.617e-05/0.4008, allocations: 41.53 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.4008, allocations: 134.6 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.401, allocations: 168.2 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.401, allocations: 29.64 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.4011, allocations: 107.9 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.4011, allocations: 0 / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.4011, allocations: 13.72 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4012, allocations: 314.8 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.4012, allocations: 4 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.4013, allocations: 30.56 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.24e-05/0.4013, allocations: 26.52 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4013, allocations: 0 / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001154/0.4014, allocations: 57.53 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.4015, allocations: 12.09 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.4015, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.4015, allocations: 3.938 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.731e-05/0.4015, allocations: 4 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4016, allocations: 4 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.4016, allocations: 3.938 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.4016, allocations: 7.938 kB / 1.063 GB, free: 356 kB / 0.8106 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 9.681e-05/0.4017, allocations: 193.1 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.4018, allocations: 116.8 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/0.4018, allocations: 116.9 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.418e-05/0.4019, allocations: 180.2 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.966e-05/0.402, allocations: 184.2 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.529e-05/0.4021, allocations: 184.3 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.4023, allocations: 425.1 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.28e-05/0.4023, allocations: 105 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.4024, allocations: 101.1 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.378e-05/0.4025, allocations: 192.2 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/0.4025, allocations: 180.2 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.999e-05/0.4026, allocations: 180.2 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-05/0.4026, allocations: 184.2 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.4028, allocations: 311.7 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-05/0.4029, allocations: 190 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.783e-05/0.403, allocations: 184.1 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.4031, allocations: 105 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.4032, allocations: 184.2 kB / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.4032, allocations: 105 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001047/0.4033, allocations: 131.5 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4033, allocations: 4 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002166/0.4035, allocations: 4 kB / 1.067 GB, free: 12.64 MB / 0.8262 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001817/0.4037, allocations: 170.5 kB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.907e-05/0.4038, allocations: 15.94 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4038, allocations: 0 / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.4038, allocations: 3.938 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.4044, allocations: 0.5224 MB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.4048, allocations: 283.8 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.4051, allocations: 0.6887 MB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.4052, allocations: 11.44 kB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.4052, allocations: 0 / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of Templates: time 0.002376/0.4076, allocations: 0.7945 MB / 1.069 GB, free: 10.09 MB / 0.8262 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