Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 225.6 MB / 249.3 MB, free: 3.039 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.455/2.455, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 71.88 kB / 1.107 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7353/0.7371, allocations: 168.7 MB / 1.271 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002123/0.7392, allocations: 1.56 MB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 8.661e-05/0.7393, allocations: 32.28 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.7393, allocations: 5.312 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.7394, allocations: 10.38 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.057e-05/0.7395, allocations: 13.41 kB / 1.273 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.832e-05/0.7396, allocations: 17.69 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.007e-05/0.7397, allocations: 46.55 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.7398, allocations: 23.75 kB / 1.273 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.03e-05/0.7398, allocations: 23.67 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.739e-05/0.7398, allocations: 25.39 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.7399, allocations: 4.125 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.7399, allocations: 5.062 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.7399, allocations: 25.45 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.7399, allocations: 28.91 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.288e-05/0.74, allocations: 57.97 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.74, allocations: 4.719 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.74, allocations: 0 / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.74, allocations: 0 / 1.273 GB, free: 6.336 MB / 0.9981 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.000278/0.7403, allocations: 371.6 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7404, allocations: 9.891 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.762e-05/0.7404, allocations: 39.52 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.7404, allocations: 8.047 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.7405, allocations: 181.3 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.7405, allocations: 7.844 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.7405, allocations: 3.812 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.7407, allocations: 106.4 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.7407, allocations: 3.938 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.7407, allocations: 0.9062 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.7407, allocations: 1.656 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.548e-05/0.7408, allocations: 49.42 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.7411, allocations: 0.6392 MB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.313e-05/0.7412, allocations: 170.6 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.097e-05/0.7412, allocations: 88.08 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.7412, allocations: 76.16 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.7412, allocations: 106.7 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.7412, allocations: 0 / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.423e-05/0.7412, allocations: 41.59 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.7413, allocations: 128.8 kB / 1.275 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.7414, allocations: 177.4 kB / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-06/0.7414, allocations: 25.7 kB / 1.275 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.7414, allocations: 99.69 kB / 1.275 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.7414, allocations: 0 / 1.275 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.7415, allocations: 17.53 kB / 1.275 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.438e-05/0.7415, allocations: 318.9 kB / 1.276 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.7415, allocations: 6.297 kB / 1.276 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.516e-05/0.7415, allocations: 29.91 kB / 1.276 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.994e-05/0.7416, allocations: 28.86 kB / 1.276 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7416, allocations: 0 / 1.276 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.364e-05/0.7416, allocations: 60.41 kB / 1.276 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.7417, allocations: 5.188 kB / 1.276 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.7417, allocations: 9.094 kB / 1.276 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.7417, allocations: 0.9688 kB / 1.276 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.964e-05/0.7417, allocations: 6.828 kB / 1.276 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.7417, allocations: 1.094 kB / 1.276 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.7418, allocations: 10.2 kB / 1.276 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.7418, allocations: 1.75 kB / 1.276 GB, free: 3.605 MB / 0.9981 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.665e-05/0.7418, allocations: 195.3 kB / 1.276 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.7418, allocations: 109 kB / 1.276 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.7419, allocations: 118.6 kB / 1.276 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.7419, allocations: 182.4 kB / 1.277 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/0.7419, allocations: 181.1 kB / 1.277 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.747e-05/0.742, allocations: 185.8 kB / 1.277 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.7422, allocations: 422.5 kB / 1.277 GB, free: 18.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.004e-05/0.7422, allocations: 105.9 kB / 1.277 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.7423, allocations: 107.4 kB / 1.277 GB, free: 17.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.194e-05/0.7423, allocations: 178 kB / 1.278 GB, free: 17.78 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/0.7424, allocations: 187 kB / 1.278 GB, free: 17.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.165e-05/0.7425, allocations: 181.4 kB / 1.278 GB, free: 17.41 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.3e-05/0.7425, allocations: 177.4 kB / 1.278 GB, free: 17.23 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.7426, allocations: 312.3 kB / 1.278 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.7427, allocations: 196.6 kB / 1.279 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.7428, allocations: 185.7 kB / 1.279 GB, free: 16.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-05/0.7429, allocations: 105.7 kB / 1.279 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.7429, allocations: 185 kB / 1.279 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.743, allocations: 106.4 kB / 1.279 GB, free: 16.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.21e-05/0.7431, allocations: 130.5 kB / 1.279 GB, free: 16.01 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.7431, allocations: 0 / 1.279 GB, free: 16.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002029/0.7433, allocations: 5.562 kB / 1.279 GB, free: 16.01 MB / 1.014 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.0003803/0.7437, allocations: 0.8243 MB / 1.28 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.236e-05/0.7437, allocations: 14.09 kB / 1.28 GB, free: 15.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7437, allocations: 0 / 1.28 GB, free: 15.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.7437, allocations: 5.156 kB / 1.28 GB, free: 15.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.7441, allocations: 461.6 kB / 1.281 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.7453, allocations: 1.637 MB / 1.282 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.7456, allocations: 0.6937 MB / 1.283 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.689e-05/0.7456, allocations: 8.375 kB / 1.283 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.7456, allocations: 19.56 kB / 1.283 GB, free: 12.56 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.7456, allocations: 0.7812 kB / 1.283 GB, free: 12.56 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.7688, allocations: 1.681 MB / 1.285 GB, free: 12.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/7.714, allocations: 13.83 kB / 1.285 GB, free: 12.16 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.864912287999687]