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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001365, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.251/1.251, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.438/2.438, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 62.81 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2351, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002371/0.2375, allocations: 1.539 MB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.215e-05/0.2376, allocations: 27.86 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.2377, allocations: 4 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.11e-05/0.2378, allocations: 7.922 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.784e-05/0.2378, allocations: 7.875 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.631e-05/0.2379, allocations: 23.97 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.475e-05/0.238, allocations: 43.84 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.2381, allocations: 39.95 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.036e-05/0.2381, allocations: 19.92 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.2382, allocations: 27.86 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.2382, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.2382, allocations: 8 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.2383, allocations: 15.98 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.2383, allocations: 27.81 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.477e-05/0.2384, allocations: 60.02 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2384, allocations: 3.938 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2384, allocations: 0 / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.2384, allocations: 0 / 1.066 GB, free: 12.33 MB / 0.8262 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.0003558/0.2388, allocations: 363.3 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.2388, allocations: 8.031 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.2389, allocations: 42.73 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.2389, allocations: 12.84 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.2391, allocations: 188.2 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2391, allocations: 8.375 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.2391, allocations: 4.375 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.2392, allocations: 92.8 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2393, allocations: 7.875 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.2393, allocations: 8 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2393, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.53e-05/0.2394, allocations: 47.97 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.2399, allocations: 0.6322 MB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.999e-05/0.24, allocations: 173.1 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.24, allocations: 80.14 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.24, allocations: 83.28 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.2401, allocations: 105.8 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2401, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.341e-05/0.2402, allocations: 41.48 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.2402, allocations: 130.7 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2404, allocations: 165.3 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.2404, allocations: 25.7 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.2405, allocations: 108 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.2405, allocations: 0 / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.2405, allocations: 13.72 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2406, allocations: 322.8 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.2406, allocations: 8 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/0.2407, allocations: 18.58 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.2407, allocations: 34.5 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2407, allocations: 0 / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001033/0.2408, allocations: 57.58 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.2408, allocations: 4 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.2409, allocations: 7.938 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2409, allocations: 4 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.608e-05/0.2409, allocations: 7.984 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.2409, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/0.241, allocations: 11.84 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-06/0.241, allocations: 3.938 kB / 1.069 GB, free: 9.281 MB / 0.8262 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.317e-05/0.2411, allocations: 189.2 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.2411, allocations: 120.8 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.625e-05/0.2412, allocations: 124.8 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-05/0.2413, allocations: 180.2 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-05/0.2413, allocations: 180.3 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-05/0.2414, allocations: 180.2 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.2416, allocations: 429.1 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.814e-05/0.2417, allocations: 105 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.2417, allocations: 108.9 kB / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.259e-05/0.2418, allocations: 176.4 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/0.2419, allocations: 180.2 kB / 1.07 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-05/0.2419, allocations: 184.4 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.284e-05/0.242, allocations: 184.2 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.2421, allocations: 319.7 kB / 1.071 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.2422, allocations: 186 kB / 1.071 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/0.2423, allocations: 188.1 kB / 1.071 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.2424, allocations: 109 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.2425, allocations: 184.2 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.2425, allocations: 101 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.04e-05/0.2426, allocations: 127.2 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2426, allocations: 0 / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002005/0.2428, allocations: 8 kB / 1.072 GB, free: 5.57 MB / 0.8262 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.0003981/0.2432, allocations: 0.8203 MB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.366e-05/0.2433, allocations: 4 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2433, allocations: 0 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.2433, allocations: 0 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.2436, allocations: 467.8 kB / 1.073 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.2449, allocations: 1.632 MB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.2452, allocations: 0.6924 MB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.456e-05/0.2452, allocations: 4 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.2452, allocations: 23.44 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2452, allocations: 0 / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.547/2.793, allocations: 1.663 MB / 1.077 GB, free: 220 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/16.53, allocations: 4.734 kB / 1.077 GB, free: 220 kB / 0.8262 GB (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) 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) Reference file matches