Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.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.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger",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.008252/0.008252, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.002041/0.002041, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.495/2.495, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 62.78 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.312, allocations: 140.4 MB / 1.087 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004616/0.3167, allocations: 2.314 MB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1834/0.5001, allocations: 152 MB / 1.238 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.5005, allocations: 4 kB / 1.238 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.5008, allocations: 43.47 kB / 1.238 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005557/0.5014, allocations: 107.2 kB / 1.238 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009818/0.5024, allocations: 295 kB / 1.239 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006162/0.503, allocations: 435.8 kB / 1.239 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.5033, allocations: 107.9 kB / 1.239 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.5049, allocations: 299 kB / 1.239 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.5052, allocations: 179.3 kB / 1.24 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.125e-05/0.5053, allocations: 28 kB / 1.24 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000608/0.5059, allocations: 283.6 kB / 1.24 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.506, allocations: 87.72 kB / 1.24 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.5062, allocations: 159.2 kB / 1.24 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008984/0.5071, allocations: 498.1 kB / 1.241 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5071, allocations: 0 / 1.241 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.767e-06/0.5071, allocations: 0 / 1.241 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.052e-05/0.5072, allocations: 3.938 kB / 1.241 GB, free: 4.754 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001743/0.5089, allocations: 0.7089 MB / 1.241 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.509, allocations: 11.97 kB / 1.241 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.731e-05/0.509, allocations: 62.72 kB / 1.241 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002893/0.5119, allocations: 267.4 kB / 1.242 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.5124, allocations: 307.4 kB / 1.242 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.5125, allocations: 16.56 kB / 1.242 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.792e-05/0.5125, allocations: 28 kB / 1.242 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.5141, allocations: 436.4 kB / 1.242 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5141, allocations: 4 kB / 1.242 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/0.5142, allocations: 11.94 kB / 1.242 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.5142, allocations: 8 kB / 1.242 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.5166, allocations: 0.5252 MB / 1.243 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/0.5199, allocations: 1.121 MB / 1.244 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/0.5223, allocations: 462.2 kB / 1.244 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.5235, allocations: 236.7 kB / 1.245 GB, free: 428 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.5235, allocations: 4.391 kB / 1.245 GB, free: 424 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.5235, allocations: 38.5 kB / 1.245 GB, free: 376 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/0.5236, allocations: 0 / 1.245 GB, free: 376 kB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.01663/0.5402, allocations: 1.727 MB / 1.246 GB, free: 14.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.5403, allocations: 59.34 kB / 1.246 GB, free: 14.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.5407, allocations: 304.5 kB / 1.247 GB, free: 14.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.923e-05/0.5408, allocations: 29.7 kB / 1.247 GB, free: 14.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.5409, allocations: 172.4 kB / 1.247 GB, free: 14.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.5411, allocations: 87.22 kB / 1.247 GB, free: 13.92 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.5413, allocations: 81.92 kB / 1.247 GB, free: 13.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5414, allocations: 342.7 kB / 1.247 GB, free: 13.49 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.5425, allocations: 196.4 kB / 1.248 GB, free: 13.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.5437, allocations: 259 kB / 1.248 GB, free: 13.03 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.5459, allocations: 446.8 kB / 1.248 GB, free: 12.58 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5459, allocations: 0 / 1.248 GB, free: 12.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007882/0.5538, allocations: 0.8928 MB / 1.249 GB, free: 11.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.5539, allocations: 5.406 kB / 1.249 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.5539, allocations: 7.938 kB / 1.249 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/0.5559, allocations: 281.4 kB / 1.249 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.5565, allocations: 71.81 kB / 1.249 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/0.5722, allocations: 4.084 MB / 1.253 GB, free: 6.945 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.5734, allocations: 71.69 kB / 1.254 GB, free: 6.875 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.5735, allocations: 15.97 kB / 1.254 GB, free: 6.859 MB / 1.014 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002905/0.5738, allocations: 142.9 kB / 1.254 GB, free: 6.711 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.5739, allocations: 35.77 kB / 1.254 GB, free: 6.676 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009052/0.583, allocations: 0.9379 MB / 1.255 GB, free: 5.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.5831, allocations: 7.938 kB / 1.255 GB, free: 5.723 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5831, allocations: 0 / 1.255 GB, free: 5.723 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.5831, allocations: 7.984 kB / 1.255 GB, free: 5.715 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007584/0.5838, allocations: 448.5 kB / 1.255 GB, free: 5.227 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5839, allocations: 0 / 1.255 GB, free: 5.227 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004719/0.5843, allocations: 59.89 kB / 1.255 GB, free: 5.168 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001906/0.5863, allocations: 281.4 kB / 1.255 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.5863, allocations: 7.969 kB / 1.255 GB, free: 4.879 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01585/0.6022, allocations: 4.088 MB / 1.259 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.6022, allocations: 0 / 1.259 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6376/1.24, allocations: 0.9534 MB / 1.26 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/1.24, allocations: 111.9 kB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/1.24, allocations: 9.016 kB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007992/1.241, allocations: 44.2 kB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/1.241, allocations: 22.88 kB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/1.241, allocations: 17.55 kB / 1.261 GB, free: 174.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002421/1.241, allocations: 224.6 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.241, allocations: 0 / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006098/1.242, allocations: 112.4 kB / 1.261 GB, free: 174 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007785/1.25, allocations: 1.52 MB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002948/1.253, allocations: 0.724 MB / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.253, allocations: 0 / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/1.254, allocations: 0.4948 MB / 1.264 GB, free: 172.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/1.255, allocations: 105.6 kB / 1.264 GB, free: 172.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02022/1.275, allocations: 4.386 MB / 1.268 GB, free: 171.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/1.276, allocations: 0.7701 MB / 1.269 GB, free: 170.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004826/1.276, allocations: 84.97 kB / 1.269 GB, free: 170.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/1.276, allocations: 102.8 kB / 1.269 GB, free: 170.8 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/1.276, allocations: 0 / 1.269 GB, free: 170.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04323/1.32, allocations: 16.66 MB / 1.285 GB, free: 167.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/13.4, allocations: 18.31 kB / 1.285 GB, free: 167.1 MB / 1.014 GB (rm -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches