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: "" <> 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.006426/0.006426, allocations: 103.1 kB / 15.73 MB, free: 5.992 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.001484/0.001484, allocations: 192.8 kB / 16.68 MB, free: 5.918 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.447/2.447, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 71.88 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7345/0.7359, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002651/0.7386, allocations: 1.536 MB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001232/0.7387, allocations: 31.88 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.7388, allocations: 4 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.7389, allocations: 11.86 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.5e-05/0.739, allocations: 7.922 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.7391, allocations: 27.97 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.7392, allocations: 43.84 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.7393, allocations: 35.97 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.7394, allocations: 19.92 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.7395, allocations: 23.92 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.7395, allocations: 4 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.7395, allocations: 4 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.7395, allocations: 23.91 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.7396, allocations: 27.8 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.7397, allocations: 58 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7397, allocations: 8 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7397, allocations: 0 / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.7397, allocations: 0 / 1.209 GB, free: 11.7 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.0003715/0.7401, allocations: 367.2 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.7402, allocations: 8.031 kB / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.7402, allocations: 38.75 kB / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.7402, allocations: 12.84 kB / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.7404, allocations: 184.2 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.7404, allocations: 8.375 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.7404, allocations: 8.375 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.7406, allocations: 92.8 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.7406, allocations: 3.938 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.7406, allocations: 8 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.7406, allocations: 0 / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.988e-05/0.7407, allocations: 47.91 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.7413, allocations: 0.64 MB / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.221e-05/0.7414, allocations: 165.1 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.7414, allocations: 84.08 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.7414, allocations: 83.28 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.7415, allocations: 109.8 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.7415, allocations: 0 / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.205e-05/0.7416, allocations: 37.55 kB / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.7416, allocations: 130.7 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.7418, allocations: 164.9 kB / 1.211 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.7418, allocations: 25.7 kB / 1.211 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.7419, allocations: 108 kB / 1.211 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-06/0.7419, allocations: 0 / 1.211 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.7419, allocations: 21.61 kB / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.742, allocations: 314.8 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/0.742, allocations: 11.94 kB / 1.212 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.7421, allocations: 22.56 kB / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/0.7421, allocations: 26.58 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7421, allocations: 4 kB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001187/0.7422, allocations: 57.53 kB / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7423, allocations: 4 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.7423, allocations: 7.875 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.7423, allocations: 0 / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.7424, allocations: 11.94 kB / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.7424, allocations: 4.094 kB / 1.212 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.7424, allocations: 4 kB / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.7424, allocations: 0 / 1.212 GB, free: 8.652 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 8.782e-05/0.7425, allocations: 193.1 kB / 1.212 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.7426, allocations: 108.9 kB / 1.212 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.7426, allocations: 120.7 kB / 1.212 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.123e-05/0.7427, allocations: 180.3 kB / 1.212 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.413e-05/0.7427, allocations: 192.1 kB / 1.213 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.936e-05/0.7428, allocations: 176.3 kB / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.743, allocations: 421.2 kB / 1.213 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/0.7431, allocations: 112.9 kB / 1.213 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.7431, allocations: 105 kB / 1.213 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.248e-05/0.7432, allocations: 184.2 kB / 1.213 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/0.7432, allocations: 180.3 kB / 1.214 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.177e-05/0.7433, allocations: 184.3 kB / 1.214 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.215e-05/0.7433, allocations: 184.2 kB / 1.214 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.7435, allocations: 315.9 kB / 1.214 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.7435, allocations: 194 kB / 1.215 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.7436, allocations: 184.2 kB / 1.215 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.7437, allocations: 108.9 kB / 1.215 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.7437, allocations: 176.3 kB / 1.215 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.7438, allocations: 104.9 kB / 1.215 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.058e-05/0.7439, allocations: 133.3 kB / 1.215 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7439, allocations: 0 / 1.215 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002134/0.7441, allocations: 7.984 kB / 1.215 GB, free: 4.938 MB / 0.9356 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.0003677/0.7445, allocations: 0.8125 MB / 1.216 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.19e-05/0.7446, allocations: 23.92 kB / 1.216 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7446, allocations: 0 / 1.216 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.7446, allocations: 0 / 1.216 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.7449, allocations: 461.9 kB / 1.216 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.7462, allocations: 1.636 MB / 1.218 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.7465, allocations: 0.691 MB / 1.219 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.022e-05/0.7465, allocations: 7.984 kB / 1.219 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.7466, allocations: 19.44 kB / 1.219 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.7466, allocations: 0 / 1.219 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.7643, allocations: 1.724 MB / 1.22 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.092/7.856, allocations: 7.812 kB / 1.22 GB, free: 15.54 MB / 0.9512 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