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.00808/0.008081, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001777/0.001777, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.336/2.336, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 71.89 kB / 1.054 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6794/0.6807, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002587/0.6834, allocations: 1.544 MB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001258/0.6835, allocations: 31.86 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.6836, allocations: 0 / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.6837, allocations: 11.88 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.721e-05/0.6838, allocations: 7.938 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.6839, allocations: 23.95 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.79e-05/0.684, allocations: 47.84 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.6842, allocations: 35.97 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.83e-05/0.6842, allocations: 19.92 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.491e-05/0.6843, allocations: 31.84 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.6843, allocations: 4 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.6843, allocations: 4 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.6844, allocations: 19.92 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.6844, allocations: 27.81 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.901e-05/0.6845, allocations: 58.05 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6845, allocations: 0 / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6845, allocations: 0 / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.6845, allocations: 0 / 1.209 GB, free: 11.66 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.0003742/0.6849, allocations: 367.2 kB / 1.209 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.685, allocations: 12.03 kB / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.685, allocations: 34.75 kB / 1.209 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.685, allocations: 8.844 kB / 1.209 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.6852, allocations: 188.2 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.6852, allocations: 8.375 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.6852, allocations: 4.375 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.6854, allocations: 99.34 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.6854, allocations: 3.938 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.6854, allocations: 0 / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.6854, allocations: 4 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.402e-05/0.6855, allocations: 47.91 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.6861, allocations: 0.64 MB / 1.21 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.869e-05/0.6861, allocations: 177.1 kB / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.6862, allocations: 80.14 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.6862, allocations: 79.28 kB / 1.211 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.6863, allocations: 113.8 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.6863, allocations: 0 / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.734e-05/0.6863, allocations: 37.55 kB / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.6864, allocations: 126.7 kB / 1.211 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.6866, allocations: 168.7 kB / 1.211 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.6866, allocations: 29.7 kB / 1.211 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.6866, allocations: 104 kB / 1.211 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.6867, allocations: 7.938 kB / 1.211 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.6867, allocations: 17.62 kB / 1.211 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.6868, allocations: 322.8 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.6868, allocations: 4 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.6868, allocations: 22.58 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.1e-05/0.6869, allocations: 22.58 kB / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.6869, allocations: 3.938 kB / 1.212 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001221/0.687, allocations: 65.47 kB / 1.212 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.687, allocations: 9.719 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.687, allocations: 3.938 kB / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.6871, allocations: 0 / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/0.6871, allocations: 8.094 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.6871, allocations: 0 / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.6872, allocations: 4 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.6872, allocations: 0 / 1.212 GB, free: 8.605 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 9.299e-05/0.6873, allocations: 197.1 kB / 1.212 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.6873, allocations: 108.9 kB / 1.212 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.298e-05/0.6874, allocations: 120.7 kB / 1.212 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.63e-05/0.6875, allocations: 180.3 kB / 1.212 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-05/0.6875, allocations: 184.2 kB / 1.213 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.182e-05/0.6876, allocations: 176.4 kB / 1.213 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.6878, allocations: 425.2 kB / 1.213 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/0.6878, allocations: 108.9 kB / 1.213 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.6879, allocations: 105 kB / 1.213 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.345e-05/0.6879, allocations: 188.2 kB / 1.214 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/0.688, allocations: 180.2 kB / 1.214 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.716e-05/0.6881, allocations: 188.2 kB / 1.214 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.97e-05/0.6881, allocations: 176.3 kB / 1.214 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.6882, allocations: 311.9 kB / 1.214 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.6883, allocations: 194 kB / 1.215 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.6884, allocations: 188.2 kB / 1.215 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.6885, allocations: 105 kB / 1.215 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.6885, allocations: 176.3 kB / 1.215 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.6886, allocations: 116.9 kB / 1.215 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.836e-05/0.6887, allocations: 125.3 kB / 1.215 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6887, allocations: 3.938 kB / 1.215 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002102/0.6889, allocations: 8 kB / 1.215 GB, free: 4.891 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.0003708/0.6893, allocations: 0.8203 MB / 1.216 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.834e-05/0.6893, allocations: 15.94 kB / 1.216 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6894, allocations: 0 / 1.216 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.6894, allocations: 4 kB / 1.216 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.6897, allocations: 455.7 kB / 1.216 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.691, allocations: 1.637 MB / 1.218 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.6913, allocations: 0.6963 MB / 1.219 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.863e-05/0.6913, allocations: 4 kB / 1.219 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.6913, allocations: 23.42 kB / 1.219 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of SimCode: time 1.603e-06/0.6913, allocations: 4 kB / 1.219 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.7082, allocations: 1.712 MB / 1.22 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.197/7.905, allocations: 7.125 kB / 1.22 GB, free: 15.49 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