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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 116.8 kB / 17.16 MB, free: 6.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 210.3 kB / 20.13 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.835/2.835, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 71.89 kB / 1.165 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9589/0.9608, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002406/0.9633, allocations: 1.554 MB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001083/0.9634, allocations: 31.39 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.9634, allocations: 5.156 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.9635, allocations: 12.22 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.52e-05/0.9636, allocations: 9.734 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.9637, allocations: 22.38 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.996e-05/0.9638, allocations: 42.7 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.9639, allocations: 27.27 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.9639, allocations: 24.72 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/0.964, allocations: 28.77 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.964, allocations: 8.281 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.964, allocations: 4.844 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.9641, allocations: 21.98 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.9641, allocations: 23.7 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.9642, allocations: 62.27 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.9642, allocations: 1.25 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9642, allocations: 0 / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.9642, allocations: 0 / 1.342 GB, free: 15.02 MB / 1.061 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.0003422/0.9646, allocations: 368 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.9646, allocations: 14.16 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.254e-05/0.9646, allocations: 5.562 kB / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.394e-05/0.9647, allocations: 38.84 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.9647, allocations: 9.797 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.9648, allocations: 184.2 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.9648, allocations: 11.77 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.9649, allocations: 3.844 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.965, allocations: 106.5 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.965, allocations: 1.578 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.965, allocations: 1.094 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.965, allocations: 1.188 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.569e-05/0.9651, allocations: 45.38 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.9656, allocations: 0.6463 MB / 1.343 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.709e-05/0.9656, allocations: 169.1 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.9656, allocations: 88.47 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.9656, allocations: 75.28 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.9657, allocations: 106.5 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.9657, allocations: 4 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.508e-05/0.9657, allocations: 39.73 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.9658, allocations: 126.7 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.9659, allocations: 165 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-06/0.9659, allocations: 25.7 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.9659, allocations: 108.2 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.966, allocations: 0.5625 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.966, allocations: 17.11 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.966, allocations: 319.3 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.966, allocations: 15.09 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.9661, allocations: 19.44 kB / 1.345 GB, free: 12.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.9661, allocations: 25.41 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.9661, allocations: 4 kB / 1.345 GB, free: 12.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001084/0.9662, allocations: 56.08 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.9662, allocations: 11.52 kB / 1.345 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9662, allocations: 0 / 1.345 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.9662, allocations: 5.438 kB / 1.345 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.64e-05/0.9663, allocations: 9.141 kB / 1.345 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.9663, allocations: 1.734 kB / 1.345 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.9663, allocations: 10.08 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.9663, allocations: 1.219 kB / 1.345 GB, free: 12.29 MB / 1.061 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 5.768e-05/0.9664, allocations: 197.5 kB / 1.345 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.9664, allocations: 113 kB / 1.345 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.9665, allocations: 114.8 kB / 1.345 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.9665, allocations: 177.8 kB / 1.345 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.629e-05/0.9665, allocations: 186.1 kB / 1.345 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.9665, allocations: 186.2 kB / 1.346 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.9667, allocations: 420.7 kB / 1.346 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.9667, allocations: 107 kB / 1.346 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.507e-05/0.9667, allocations: 107.5 kB / 1.346 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-05/0.9667, allocations: 184.8 kB / 1.346 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.9667, allocations: 182.7 kB / 1.347 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.143e-05/0.9668, allocations: 181.1 kB / 1.347 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.258e-05/0.9668, allocations: 186.8 kB / 1.347 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.153e-05/0.9669, allocations: 307.8 kB / 1.347 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.9669, allocations: 191.9 kB / 1.347 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.9669, allocations: 188.9 kB / 1.348 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.977e-05/0.967, allocations: 107.2 kB / 1.348 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.967, allocations: 177 kB / 1.348 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.967, allocations: 107.4 kB / 1.348 GB, free: 8.785 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.41e-05/0.9671, allocations: 128.3 kB / 1.348 GB, free: 8.695 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9671, allocations: 0 / 1.348 GB, free: 8.695 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002066/0.9673, allocations: 7.984 kB / 1.348 GB, free: 8.695 MB / 1.061 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.0002268/0.9675, allocations: 0.8128 MB / 1.349 GB, free: 7.879 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.309e-05/0.9676, allocations: 15.91 kB / 1.349 GB, free: 7.871 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9676, allocations: 0 / 1.349 GB, free: 7.871 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.9676, allocations: 4.188 kB / 1.349 GB, free: 7.867 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.9679, allocations: 459.5 kB / 1.349 GB, free: 7.418 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.9689, allocations: 1.641 MB / 1.351 GB, free: 5.965 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.969, allocations: 0.6941 MB / 1.352 GB, free: 5.266 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.886e-05/0.9691, allocations: 6.297 kB / 1.352 GB, free: 5.266 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.9691, allocations: 19.36 kB / 1.352 GB, free: 5.25 MB / 1.061 GB Notification: Performance of SimCode: time 2.4e-07/0.9691, allocations: 1.5 kB / 1.352 GB, free: 5.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.9858, allocations: 1.764 MB / 1.353 GB, free: 4.836 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/9.031, allocations: 7.953 kB / 1.353 GB, free: 4.832 MB / 1.061 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.213378913002089]