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.005558/0.005558, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.00139/0.00139, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.387/2.387, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 65.27 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2775, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00362/0.2812, allocations: 2.303 MB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1582/0.4394, allocations: 152 MB / 1.238 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.4397, allocations: 3.938 kB / 1.238 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.44, allocations: 43.47 kB / 1.238 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004441/0.4404, allocations: 99.2 kB / 1.238 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008673/0.4413, allocations: 303 kB / 1.239 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006117/0.4419, allocations: 435.7 kB / 1.239 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.4422, allocations: 102.5 kB / 1.239 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.4436, allocations: 286.3 kB / 1.239 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.444, allocations: 183.2 kB / 1.24 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.365e-05/0.444, allocations: 28 kB / 1.24 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005798/0.4446, allocations: 279.6 kB / 1.24 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.4448, allocations: 83.72 kB / 1.24 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.4449, allocations: 163.2 kB / 1.24 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007838/0.4457, allocations: 499.3 kB / 1.241 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4458, allocations: 0 / 1.241 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.276e-06/0.4458, allocations: 0 / 1.241 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.976e-05/0.4458, allocations: 3.938 kB / 1.241 GB, free: 4.668 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.001738/0.4475, allocations: 0.7018 MB / 1.241 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.4476, allocations: 8.031 kB / 1.241 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.1e-05/0.4477, allocations: 62.72 kB / 1.241 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0029/0.4506, allocations: 259.3 kB / 1.242 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.4511, allocations: 315.1 kB / 1.242 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.4511, allocations: 20.56 kB / 1.242 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.022e-05/0.4512, allocations: 32 kB / 1.242 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.4527, allocations: 432.5 kB / 1.242 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4528, allocations: 0 / 1.242 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.4528, allocations: 15.94 kB / 1.242 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4528, allocations: 4 kB / 1.242 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.4553, allocations: 0.5252 MB / 1.243 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/0.4585, allocations: 1.117 MB / 1.244 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.4609, allocations: 462.3 kB / 1.244 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.462, allocations: 228.7 kB / 1.245 GB, free: 364 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.462, allocations: 4 kB / 1.245 GB, free: 360 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.4621, allocations: 38.5 kB / 1.245 GB, free: 312 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.4621, allocations: 0 / 1.245 GB, free: 312 kB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.01667/0.4787, allocations: 1.727 MB / 1.246 GB, free: 14.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.4788, allocations: 59.28 kB / 1.246 GB, free: 14.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.4792, allocations: 308.5 kB / 1.247 GB, free: 14.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/0.4793, allocations: 33.7 kB / 1.247 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.4794, allocations: 168.2 kB / 1.247 GB, free: 13.94 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.437e-05/0.4795, allocations: 86.8 kB / 1.247 GB, free: 13.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.4797, allocations: 73.92 kB / 1.247 GB, free: 13.78 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4798, allocations: 350.7 kB / 1.247 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.4809, allocations: 200.3 kB / 1.248 GB, free: 13.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.4821, allocations: 259 kB / 1.248 GB, free: 12.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/0.4843, allocations: 434.8 kB / 1.248 GB, free: 12.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.4843, allocations: 7.938 kB / 1.248 GB, free: 12.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007307/0.4916, allocations: 0.881 MB / 1.249 GB, free: 11.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.4917, allocations: 4 kB / 1.249 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4917, allocations: 3.984 kB / 1.249 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.4937, allocations: 281.4 kB / 1.249 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.4943, allocations: 71.81 kB / 1.249 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/0.5097, allocations: 4.091 MB / 1.253 GB, free: 6.891 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009044/0.5106, allocations: 71.64 kB / 1.253 GB, free: 6.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.594e-05/0.5107, allocations: 19.97 kB / 1.253 GB, free: 6.801 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.000251/0.511, allocations: 142.9 kB / 1.254 GB, free: 6.652 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.5111, allocations: 27.62 kB / 1.254 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007567/0.5187, allocations: 0.9533 MB / 1.255 GB, free: 5.664 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.5187, allocations: 4 kB / 1.255 GB, free: 5.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5187, allocations: 4 kB / 1.255 GB, free: 5.656 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.5187, allocations: 3.984 kB / 1.255 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.5193, allocations: 440.5 kB / 1.255 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5193, allocations: 0 / 1.255 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.5198, allocations: 51.95 kB / 1.255 GB, free: 5.121 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/0.5216, allocations: 277.4 kB / 1.255 GB, free: 4.844 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.5217, allocations: 15.97 kB / 1.255 GB, free: 4.828 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01478/0.5365, allocations: 4.076 MB / 1.259 GB, free: 476 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5365, allocations: 3.984 kB / 1.259 GB, free: 472 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5757/1.112, allocations: 0.9602 MB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/1.112, allocations: 108.1 kB / 1.26 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/1.113, allocations: 7.828 kB / 1.26 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/1.113, allocations: 44.2 kB / 1.26 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.113, allocations: 22.5 kB / 1.26 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/1.113, allocations: 17.78 kB / 1.26 GB, free: 174 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002745/1.114, allocations: 224 kB / 1.261 GB, free: 173.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.4e-07/1.114, allocations: 0 / 1.261 GB, free: 173.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006659/1.114, allocations: 111.1 kB / 1.261 GB, free: 173.9 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.007906/1.122, allocations: 1.527 MB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003143/1.126, allocations: 0.7156 MB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.126, allocations: 3.75 kB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/1.127, allocations: 0.4975 MB / 1.263 GB, free: 172.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007781/1.128, allocations: 108.6 kB / 1.264 GB, free: 172.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/1.149, allocations: 4.391 MB / 1.268 GB, free: 171.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/1.149, allocations: 0.7676 MB / 1.269 GB, free: 170.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000472/1.149, allocations: 79.66 kB / 1.269 GB, free: 170.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/1.15, allocations: 98.34 kB / 1.269 GB, free: 170.7 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.15, allocations: 0 / 1.269 GB, free: 170.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05044/1.2, allocations: 16.65 MB / 1.285 GB, free: 167 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.39, allocations: 4.359 kB / 1.285 GB, free: 167 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