Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_9_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.001045/0.001045, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001145/0.001145, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.218/1.218, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.111/2.111, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.5396, allocations: 140.4 MB / 0.9492 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002349/0.542, allocations: 1.595 MB / 0.9508 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.794e-05/0.5421, allocations: 32.33 kB / 0.9508 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.5422, allocations: 0 / 0.9508 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.912e-05/0.5423, allocations: 13.83 kB / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.365e-05/0.5423, allocations: 5.656 kB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.996e-05/0.5424, allocations: 14.33 kB / 0.9509 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.585e-05/0.5425, allocations: 47.34 kB / 0.9509 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.5426, allocations: 39.64 kB / 0.9509 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.121e-05/0.5427, allocations: 21.45 kB / 0.951 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.5427, allocations: 28.94 kB / 0.951 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.5427, allocations: 3.469 kB / 0.951 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.5427, allocations: 6.156 kB / 0.951 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.663e-05/0.5428, allocations: 17.2 kB / 0.951 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.5428, allocations: 30.03 kB / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.976e-05/0.5429, allocations: 61.8 kB / 0.9511 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5429, allocations: 0 / 0.9511 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5429, allocations: 0 / 0.9511 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.5429, allocations: 0 / 0.9511 GB, free: 7.652 MB / 0.7169 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.0002667/0.5432, allocations: 363.8 kB / 0.9515 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.5432, allocations: 9.812 kB / 0.9515 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.5433, allocations: 37.53 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.31e-05/0.5433, allocations: 9.312 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.5434, allocations: 184 kB / 0.9517 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.5434, allocations: 2.656 kB / 0.9517 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.5434, allocations: 17.67 kB / 0.9517 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.5436, allocations: 99.94 kB / 0.9518 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.5436, allocations: 3.938 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.5436, allocations: 5.531 kB / 0.9518 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5436, allocations: 2.188 kB / 0.9518 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.066e-05/0.5437, allocations: 45.88 kB / 0.9518 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.5441, allocations: 0.6367 MB / 0.9525 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.51e-05/0.5441, allocations: 166.6 kB / 0.9526 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.5442, allocations: 89.36 kB / 0.9527 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.5442, allocations: 75.28 kB / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.5442, allocations: 119.3 kB / 0.9529 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5442, allocations: 3.938 kB / 0.9529 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.993e-05/0.5443, allocations: 39.02 kB / 0.9529 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.5443, allocations: 126.7 kB / 0.9531 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.5444, allocations: 167.7 kB / 0.9532 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-06/0.5444, allocations: 25.7 kB / 0.9532 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.5445, allocations: 113.5 kB / 0.9534 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.5445, allocations: 0 / 0.9534 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.5445, allocations: 12.47 kB / 0.9534 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.613e-05/0.5445, allocations: 321.6 kB / 0.9537 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.5446, allocations: 2.75 kB / 0.9537 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.44e-05/0.5446, allocations: 22.05 kB / 0.9537 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.154e-05/0.5446, allocations: 31.86 kB / 0.9537 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5446, allocations: 1.312 kB / 0.9537 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.788e-05/0.5447, allocations: 56.84 kB / 0.9538 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.5447, allocations: 7.812 kB / 0.9538 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5448, allocations: 5 kB / 0.9538 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.5448, allocations: 1.125 kB / 0.9538 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.296e-05/0.5448, allocations: 4.219 kB / 0.9538 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.5448, allocations: 5.156 kB / 0.9538 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.5449, allocations: 6.844 kB / 0.9538 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.5449, allocations: 1.469 kB / 0.9538 GB, free: 4.848 MB / 0.7169 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.391e-05/0.5449, allocations: 197.5 kB / 0.954 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.545, allocations: 108.8 kB / 0.9541 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.545, allocations: 124.6 kB / 0.9542 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.545, allocations: 185.3 kB / 0.9544 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.025e-05/0.5451, allocations: 181.5 kB / 0.9546 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.5451, allocations: 181.5 kB / 0.9547 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.5452, allocations: 426.1 kB / 0.9552 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.5452, allocations: 102.2 kB / 0.9553 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.5452, allocations: 110.2 kB / 0.9554 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.99e-05/0.5453, allocations: 181.5 kB / 0.9555 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.5453, allocations: 189.3 kB / 0.9557 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.822e-05/0.5453, allocations: 180.2 kB / 0.9559 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-05/0.5453, allocations: 189.7 kB / 0.9561 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.595e-05/0.5454, allocations: 310.3 kB / 0.9564 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.5454, allocations: 192.3 kB / 0.9565 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.5455, allocations: 185.4 kB / 0.9567 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.5455, allocations: 106.4 kB / 0.9568 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.5456, allocations: 177.8 kB / 0.957 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.5456, allocations: 105 kB / 0.9571 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.129e-05/0.5457, allocations: 131.3 kB / 0.9572 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5457, allocations: 0 / 0.9572 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002072/0.5459, allocations: 6.5 kB / 0.9572 GB, free: 1.207 MB / 0.7169 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.000189/0.5461, allocations: 0.8199 MB / 0.958 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.156e-05/0.5461, allocations: 14.38 kB / 0.958 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5461, allocations: 1.094 kB / 0.958 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-06/0.5462, allocations: 0 / 0.958 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.5464, allocations: 458.1 kB / 0.9585 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.5477, allocations: 1.634 MB / 0.9601 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.5479, allocations: 0.6927 MB / 0.9607 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.841e-05/0.5479, allocations: 11.8 kB / 0.9608 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.548, allocations: 19 kB / 0.9608 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.548, allocations: 0 / 0.9608 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3281/0.8761, allocations: 1.582 MB / 0.9623 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.8763, allocations: 216.3 kB / 0.9625 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.429, allocations: 6.047 kB / 0.9625 GB, free: 12.66 MB / 0.7325 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches