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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008966/0.0008966, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005447/0.005447, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.051/2.051, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002859, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5122/0.5125, allocations: 142.4 MB / 0.9552 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001195/0.5138, allocations: 1.251 MB / 0.9564 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 7.942e-05/0.5138, allocations: 36.69 kB / 0.9564 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.5139, allocations: 1.156 kB / 0.9564 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.262e-05/0.514, allocations: 9.109 kB / 0.9564 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.653e-05/0.514, allocations: 7.938 kB / 0.9564 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.782e-05/0.5141, allocations: 15.73 kB / 0.9565 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.732e-05/0.5142, allocations: 50.14 kB / 0.9565 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.758e-05/0.5143, allocations: 32.41 kB / 0.9565 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.5143, allocations: 17.77 kB / 0.9566 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.5144, allocations: 18.3 kB / 0.9566 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.5144, allocations: 2.469 kB / 0.9566 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-06/0.5144, allocations: 1.406 kB / 0.9566 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.5144, allocations: 13.45 kB / 0.9566 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.5145, allocations: 46.89 kB / 0.9566 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.495e-05/0.5145, allocations: 53.3 kB / 0.9567 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5145, allocations: 3.984 kB / 0.9567 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5145, allocations: 0 / 0.9567 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.5146, allocations: 1.188 kB / 0.9567 GB, free: 6.551 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.0002171/0.5148, allocations: 353.1 kB / 0.957 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.5148, allocations: 10 kB / 0.957 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.5148, allocations: 44.98 kB / 0.9571 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.5149, allocations: 9.312 kB / 0.9571 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.515, allocations: 180.8 kB / 0.9573 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.515, allocations: 2.438 kB / 0.9573 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.515, allocations: 9 kB / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.5151, allocations: 104.9 kB / 0.9574 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.5151, allocations: 5.281 kB / 0.9574 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.5152, allocations: 0 / 0.9574 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5152, allocations: 2.5 kB / 0.9574 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.5152, allocations: 41.91 kB / 0.9574 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.5156, allocations: 0.6505 MB / 0.9581 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.233e-05/0.5156, allocations: 169.1 kB / 0.9582 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.226e-05/0.5157, allocations: 81.64 kB / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.5157, allocations: 83.3 kB / 0.9584 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.5157, allocations: 113.8 kB / 0.9585 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.5157, allocations: 1.344 kB / 0.9585 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.139e-05/0.5157, allocations: 40.39 kB / 0.9585 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.5158, allocations: 128.2 kB / 0.9586 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.5159, allocations: 167.6 kB / 0.9588 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-06/0.5159, allocations: 26.89 kB / 0.9588 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.5159, allocations: 109.2 kB / 0.9589 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.516, allocations: 4 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.516, allocations: 11.19 kB / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.578e-05/0.516, allocations: 322 kB / 0.9593 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.516, allocations: 5.656 kB / 0.9593 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.558e-05/0.5161, allocations: 18.77 kB / 0.9593 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/0.5161, allocations: 36.66 kB / 0.9593 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5161, allocations: 0 / 0.9593 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.608e-05/0.5162, allocations: 50.48 kB / 0.9594 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.5162, allocations: 4.406 kB / 0.9594 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5162, allocations: 5.312 kB / 0.9594 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.5162, allocations: 1.562 kB / 0.9594 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.661e-05/0.5163, allocations: 11.58 kB / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.5163, allocations: 1.719 kB / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.5163, allocations: 13.94 kB / 0.9594 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-06/0.5163, allocations: 1.875 kB / 0.9594 GB, free: 3.738 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.637e-05/0.5164, allocations: 186.6 kB / 0.9596 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.5164, allocations: 116.4 kB / 0.9597 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.5165, allocations: 120.2 kB / 0.9598 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.5165, allocations: 182 kB / 0.96 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/0.5165, allocations: 180.3 kB / 0.9601 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.5165, allocations: 182 kB / 0.9603 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.5166, allocations: 426.1 kB / 0.9607 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.5167, allocations: 102.8 kB / 0.9608 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.027e-05/0.5167, allocations: 104.9 kB / 0.9609 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/0.5167, allocations: 182.1 kB / 0.9611 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.5167, allocations: 184.2 kB / 0.9613 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.595e-05/0.5167, allocations: 182 kB / 0.9615 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-05/0.5168, allocations: 180.5 kB / 0.9616 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.002e-05/0.5168, allocations: 318.8 kB / 0.9619 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.5168, allocations: 195.8 kB / 0.9621 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.5169, allocations: 185.9 kB / 0.9623 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.506e-05/0.5169, allocations: 106.8 kB / 0.9624 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.517, allocations: 184.1 kB / 0.9626 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.517, allocations: 102.8 kB / 0.9627 GB, free: 216 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.241e-05/0.517, allocations: 126 kB / 0.9628 GB, free: 116 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.517, allocations: 4 kB / 0.9628 GB, free: 112 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002026/0.5173, allocations: 6.531 kB / 0.9628 GB, free: 112 kB / 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.0003007/0.5176, allocations: 0.8199 MB / 0.9636 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.665e-05/0.5176, allocations: 7 kB / 0.9636 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5176, allocations: 8.062 kB / 0.9636 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.5176, allocations: 0 / 0.9636 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.518, allocations: 0.5289 MB / 0.9641 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.5191, allocations: 1.64 MB / 0.9657 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.5193, allocations: 0.6937 MB / 0.9664 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.57e-05/0.5193, allocations: 8.312 kB / 0.9664 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.5193, allocations: 21.61 kB / 0.9664 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of SimCode: time 3.797e-06/0.5193, allocations: 0.9688 kB / 0.9664 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8461/1.365, allocations: 1.467 MB / 0.9679 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/1.366, allocations: 221.7 kB / 0.9681 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/3.192, allocations: 4 kB / 0.9681 GB, free: 11.57 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