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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008931/0.0008931, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005297/0.005297, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.279/1.279, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.52/2.52, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.0002981, allocations: 8.469 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2682, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001651/0.2699, allocations: 1.264 MB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001332/0.27, allocations: 27.86 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.2701, allocations: 4 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.2702, allocations: 3.938 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/0.2703, allocations: 11.92 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/0.2704, allocations: 19.97 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.038e-05/0.2705, allocations: 47.84 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.2706, allocations: 20 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.952e-05/0.2706, allocations: 15.92 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.2707, allocations: 27.86 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2707, allocations: 0 / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.2708, allocations: 4 kB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.2708, allocations: 7.984 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.2709, allocations: 57.48 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.563e-05/0.2709, allocations: 52.03 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.271, allocations: 0 / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.271, allocations: 0 / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.271, allocations: 0 / 1.06 GB, free: 3.32 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.0003243/0.2713, allocations: 351.4 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2713, allocations: 19.84 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.2714, allocations: 38.75 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.2714, allocations: 8.844 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.2716, allocations: 188.2 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2716, allocations: 4.375 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2716, allocations: 12.36 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.2718, allocations: 92.75 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.2718, allocations: 7.938 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2718, allocations: 8 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2718, allocations: 0 / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.2719, allocations: 39.97 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.2725, allocations: 0.644 MB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.324e-05/0.2725, allocations: 165.1 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.2726, allocations: 84.14 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.2726, allocations: 75.28 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.2726, allocations: 113.8 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2726, allocations: 0 / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.34e-05/0.2727, allocations: 41.48 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.2728, allocations: 126.7 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.2729, allocations: 177.7 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.273, allocations: 25.7 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.273, allocations: 100 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.273, allocations: 0 / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.2731, allocations: 17.72 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.393e-05/0.2731, allocations: 318.8 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.2732, allocations: 7.984 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.2732, allocations: 22.56 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.089e-05/0.2732, allocations: 26.52 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2732, allocations: 4 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001189/0.2734, allocations: 61.53 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2734, allocations: 8 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2734, allocations: 3.938 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2734, allocations: 0 / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.408e-05/0.2735, allocations: 4 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2735, allocations: 4 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.2735, allocations: 3.938 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.2735, allocations: 4 kB / 1.063 GB, free: 288 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 8.944e-05/0.2736, allocations: 201.1 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.2737, allocations: 112.8 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.2738, allocations: 112.8 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/0.2738, allocations: 184.2 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-05/0.2739, allocations: 180.3 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.757e-05/0.2739, allocations: 188.2 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.2741, allocations: 429.2 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-05/0.2741, allocations: 101 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.2742, allocations: 105.1 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.271e-05/0.2742, allocations: 184.3 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.2743, allocations: 184.1 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-05/0.2744, allocations: 188.2 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.643e-05/0.2744, allocations: 180.3 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.2745, allocations: 307.7 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.2746, allocations: 197.9 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.167e-05/0.2747, allocations: 184.2 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.2747, allocations: 101 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.2748, allocations: 180.2 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.2748, allocations: 105 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.805e-05/0.2749, allocations: 128.2 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2749, allocations: 4 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002088/0.2751, allocations: 4 kB / 1.066 GB, free: 12.57 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.0003415/0.2755, allocations: 0.8164 MB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.065e-05/0.2756, allocations: 15.98 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2756, allocations: 4 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.2756, allocations: 8.125 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.2759, allocations: 0.52 MB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.2771, allocations: 1.645 MB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.2774, allocations: 0.6926 MB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.105e-05/0.2774, allocations: 11.84 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.2774, allocations: 19.44 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.2774, allocations: 4 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.3063, allocations: 1.472 MB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.3066, allocations: 218.7 kB / 1.072 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/1.919, allocations: 2.391 kB / 1.072 GB, free: 7.113 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > 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