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.006781/0.006781, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001502/0.001502, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.396/2.396, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001214, allocations: 65.48 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2403, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003433/0.2438, allocations: 2.312 MB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1554/0.3992, allocations: 152 MB / 1.238 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.3995, allocations: 8 kB / 1.238 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.3998, allocations: 47.47 kB / 1.238 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004481/0.4003, allocations: 95.19 kB / 1.238 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008638/0.4011, allocations: 303 kB / 1.239 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005424/0.4017, allocations: 431.8 kB / 1.239 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.4019, allocations: 114.5 kB / 1.239 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.4035, allocations: 296.4 kB / 1.239 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.4038, allocations: 175.3 kB / 1.24 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.643e-05/0.4039, allocations: 32 kB / 1.24 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005849/0.4045, allocations: 279.6 kB / 1.24 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.014e-05/0.4046, allocations: 75.73 kB / 1.24 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.4048, allocations: 163.2 kB / 1.24 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006988/0.4055, allocations: 0.4915 MB / 1.241 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4055, allocations: 0 / 1.241 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.956e-06/0.4055, allocations: 4 kB / 1.241 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.4055, allocations: 3.938 kB / 1.241 GB, free: 4.641 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.001598/0.4071, allocations: 0.694 MB / 1.241 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4072, allocations: 15.97 kB / 1.241 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.217e-05/0.4073, allocations: 62.72 kB / 1.241 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.4103, allocations: 259.3 kB / 1.242 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005186/0.4109, allocations: 307.2 kB / 1.242 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.4109, allocations: 24.56 kB / 1.242 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/0.411, allocations: 24 kB / 1.242 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.4126, allocations: 436.4 kB / 1.242 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4127, allocations: 0 / 1.242 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/0.4127, allocations: 11.94 kB / 1.242 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.4127, allocations: 15.98 kB / 1.242 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002525/0.4153, allocations: 0.5252 MB / 1.243 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/0.4189, allocations: 1.12 MB / 1.244 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/0.4214, allocations: 458.3 kB / 1.244 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.4226, allocations: 232.7 kB / 1.245 GB, free: 332 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.733e-05/0.4226, allocations: 4 kB / 1.245 GB, free: 328 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.4227, allocations: 38.5 kB / 1.245 GB, free: 280 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 2.485e-06/0.4227, allocations: 3.938 kB / 1.245 GB, free: 276 kB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.01684/0.4395, allocations: 1.723 MB / 1.246 GB, free: 14.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.4396, allocations: 63.34 kB / 1.246 GB, free: 14.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.4399, allocations: 304.5 kB / 1.247 GB, free: 14.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.44, allocations: 33.7 kB / 1.247 GB, free: 14.08 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.4401, allocations: 168.2 kB / 1.247 GB, free: 13.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/0.4402, allocations: 86.8 kB / 1.247 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.4404, allocations: 73.92 kB / 1.247 GB, free: 13.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.4406, allocations: 346.7 kB / 1.247 GB, free: 13.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.4417, allocations: 196.4 kB / 1.248 GB, free: 13.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.4429, allocations: 266.9 kB / 1.248 GB, free: 12.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/0.4451, allocations: 434.8 kB / 1.248 GB, free: 12.49 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4451, allocations: 0 / 1.248 GB, free: 12.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007516/0.4527, allocations: 0.8927 MB / 1.249 GB, free: 11.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.4527, allocations: 8 kB / 1.249 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4527, allocations: 0 / 1.249 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/0.4547, allocations: 281.4 kB / 1.249 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.4552, allocations: 67.83 kB / 1.249 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01519/0.4704, allocations: 4.076 MB / 1.253 GB, free: 6.871 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008673/0.4713, allocations: 75.61 kB / 1.253 GB, free: 6.797 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.4714, allocations: 15.97 kB / 1.253 GB, free: 6.781 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.000205/0.4716, allocations: 142.9 kB / 1.254 GB, free: 6.633 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.4717, allocations: 35.61 kB / 1.254 GB, free: 6.598 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007536/0.4793, allocations: 0.9572 MB / 1.255 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.4793, allocations: 4 kB / 1.255 GB, free: 5.629 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.4793, allocations: 0 / 1.255 GB, free: 5.629 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4793, allocations: 7.984 kB / 1.255 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000556/0.4799, allocations: 436.5 kB / 1.255 GB, free: 5.145 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4799, allocations: 0 / 1.255 GB, free: 5.145 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.4803, allocations: 55.89 kB / 1.255 GB, free: 5.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/0.4822, allocations: 273.4 kB / 1.255 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.4823, allocations: 15.97 kB / 1.255 GB, free: 4.801 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01479/0.4971, allocations: 4.084 MB / 1.259 GB, free: 440 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4971, allocations: 0 / 1.259 GB, free: 440 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5381/1.035, allocations: 0.9523 MB / 1.26 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/1.035, allocations: 109.4 kB / 1.26 GB, free: 174.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/1.035, allocations: 7.656 kB / 1.26 GB, free: 174.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007362/1.036, allocations: 43.8 kB / 1.26 GB, free: 174.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/1.036, allocations: 22.09 kB / 1.26 GB, free: 174.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/1.036, allocations: 19.2 kB / 1.26 GB, free: 174.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002452/1.037, allocations: 228.1 kB / 1.261 GB, free: 174.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.037, allocations: 0 / 1.261 GB, free: 174.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000629/1.037, allocations: 111.4 kB / 1.261 GB, free: 174.4 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.007323/1.045, allocations: 1.52 MB / 1.262 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002984/1.048, allocations: 0.7212 MB / 1.263 GB, free: 173.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.048, allocations: 0 / 1.263 GB, free: 173.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/1.049, allocations: 0.4986 MB / 1.263 GB, free: 173.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007426/1.05, allocations: 108.5 kB / 1.264 GB, free: 173.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/1.07, allocations: 4.386 MB / 1.268 GB, free: 171.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/1.07, allocations: 0.7699 MB / 1.269 GB, free: 171 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000484/1.071, allocations: 76.05 kB / 1.269 GB, free: 171 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/1.071, allocations: 101.2 kB / 1.269 GB, free: 171 MB / 1.014 GB Notification: Performance of SimCode: time 3.066e-06/1.071, allocations: 1.031 kB / 1.269 GB, free: 171 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0599/1.131, allocations: 17 MB / 1.285 GB, free: 166.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/13.02, allocations: 4.109 kB / 1.285 GB, free: 166.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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