Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_9_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.001214/0.001214, allocations: 104 kB / 15.61 MB, free: 148 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.001169/0.001169, allocations: 195.5 kB / 16.53 MB, free: 6.684 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.183/1.183, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.058/2.058, allocations: 390.3 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 67.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4742, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001973/0.4762, allocations: 1.522 MB / 0.9512 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.334e-05/0.4763, allocations: 35.7 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.4763, allocations: 1.219 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.803e-05/0.4764, allocations: 13.11 kB / 0.9513 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.614e-05/0.4765, allocations: 5.312 kB / 0.9513 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.029e-05/0.4766, allocations: 18.28 kB / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.4766, allocations: 47.47 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.4767, allocations: 36.47 kB / 0.9514 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.674e-05/0.4768, allocations: 25.22 kB / 0.9514 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.4768, allocations: 25.05 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.4768, allocations: 4.344 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.4769, allocations: 4.156 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.4769, allocations: 22.05 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.4769, allocations: 26.78 kB / 0.9515 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.829e-05/0.477, allocations: 61.59 kB / 0.9515 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.477, allocations: 0 / 0.9515 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.477, allocations: 7.938 kB / 0.9515 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.477, allocations: 0 / 0.9515 GB, free: 7.785 MB / 0.7169 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.0002461/0.4773, allocations: 360.1 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.4773, allocations: 8.688 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.451e-05/0.4773, allocations: 42.64 kB / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.051e-05/0.4774, allocations: 7.781 kB / 0.9519 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.827e-05/0.4775, allocations: 189 kB / 0.9521 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.4775, allocations: 2.688 kB / 0.9521 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.4775, allocations: 8 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.4776, allocations: 111.2 kB / 0.9522 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.4776, allocations: 3.938 kB / 0.9522 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.4776, allocations: 5.188 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4776, allocations: 1 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.812e-05/0.4777, allocations: 46.22 kB / 0.9523 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.478, allocations: 0.6345 MB / 0.9529 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.246e-05/0.4781, allocations: 166.6 kB / 0.9531 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.081e-05/0.4781, allocations: 80.14 kB / 0.9531 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.4781, allocations: 79.28 kB / 0.9532 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.4781, allocations: 111.2 kB / 0.9533 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4781, allocations: 0 / 0.9533 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.081e-05/0.4782, allocations: 45.39 kB / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.4782, allocations: 126.7 kB / 0.9535 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4783, allocations: 170 kB / 0.9536 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-06/0.4784, allocations: 29.7 kB / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.4784, allocations: 108.1 kB / 0.9538 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.4784, allocations: 1.125 kB / 0.9538 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.4784, allocations: 12.72 kB / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.262e-05/0.4785, allocations: 320.8 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.4785, allocations: 3.156 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.4785, allocations: 25.72 kB / 0.9541 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.4785, allocations: 36.75 kB / 0.9542 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4785, allocations: 0 / 0.9542 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.099e-05/0.4786, allocations: 55.52 kB / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.4786, allocations: 4.406 kB / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4787, allocations: 3.938 kB / 0.9542 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.4787, allocations: 1.25 kB / 0.9542 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.4787, allocations: 12.89 kB / 0.9542 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.4787, allocations: 1.094 kB / 0.9542 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.976e-05/0.4788, allocations: 6.219 kB / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.4788, allocations: 2.438 kB / 0.9542 GB, free: 4.98 MB / 0.7169 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 4.611e-05/0.4788, allocations: 198 kB / 0.9544 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.4789, allocations: 108.7 kB / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.4789, allocations: 124.4 kB / 0.9547 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.4789, allocations: 184.2 kB / 0.9548 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.4789, allocations: 179.2 kB / 0.955 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.4789, allocations: 185.3 kB / 0.9552 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.4791, allocations: 419.3 kB / 0.9556 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.4791, allocations: 101 kB / 0.9557 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.4791, allocations: 118 kB / 0.9558 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/0.4791, allocations: 181.3 kB / 0.956 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.4791, allocations: 185.4 kB / 0.9561 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/0.4792, allocations: 177.4 kB / 0.9563 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-05/0.4792, allocations: 177.4 kB / 0.9565 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.768e-05/0.4792, allocations: 314.4 kB / 0.9568 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.4793, allocations: 191.9 kB / 0.957 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.4793, allocations: 189.6 kB / 0.9571 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.4793, allocations: 106.2 kB / 0.9572 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.4794, allocations: 185.3 kB / 0.9574 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.4794, allocations: 106.2 kB / 0.9575 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.403e-05/0.4795, allocations: 126.9 kB / 0.9576 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4795, allocations: 0 / 0.9576 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001998/0.4797, allocations: 6.562 kB / 0.9576 GB, free: 1.348 MB / 0.7169 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.0001689/0.4798, allocations: 0.8233 MB / 0.9584 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.828e-05/0.4799, allocations: 6.344 kB / 0.9585 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4799, allocations: 0 / 0.9585 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.4799, allocations: 5.156 kB / 0.9585 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.4801, allocations: 458.4 kB / 0.9589 GB, free: 68 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.4812, allocations: 1.634 MB / 0.9605 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.4814, allocations: 0.6998 MB / 0.9612 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.463e-05/0.4814, allocations: 4.125 kB / 0.9612 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.4815, allocations: 18.62 kB / 0.9612 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.4815, allocations: 0 / 0.9612 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.727/2.208, allocations: 1.672 MB / 0.9628 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/9.731, allocations: 3.188 kB / 0.9628 GB, free: 12.94 MB / 0.7325 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches