Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_10_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.005682/0.005682, allocations: 96.73 kB / 15.73 MB, free: 6.488 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.001582/0.001583, allocations: 189.6 kB / 16.67 MB, free: 6.391 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 437.1 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 75.88 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2875, allocations: 151.6 MB / 1.166 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004285/0.2919, allocations: 2.299 MB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7636/1.056, allocations: 152 MB / 1.317 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000295/1.056, allocations: 7.281 kB / 1.317 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002258/1.056, allocations: 53.81 kB / 1.317 GB, free: 11.92 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003858/1.057, allocations: 100.3 kB / 1.317 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009378/1.057, allocations: 301.9 kB / 1.317 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005483/1.058, allocations: 420.9 kB / 1.318 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/1.058, allocations: 118.2 kB / 1.318 GB, free: 11.69 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/1.06, allocations: 278 kB / 1.318 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/1.06, allocations: 185.1 kB / 1.318 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/1.06, allocations: 30.59 kB / 1.318 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007821/1.061, allocations: 283.1 kB / 1.319 GB, free: 11.58 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/1.061, allocations: 80.95 kB / 1.319 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/1.061, allocations: 164.2 kB / 1.319 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008784/1.062, allocations: 498.8 kB / 1.319 GB, free: 11.43 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.062, allocations: 1.094 kB / 1.319 GB, free: 11.43 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.292e-06/1.062, allocations: 0 / 1.319 GB, free: 11.43 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.062, allocations: 4 kB / 1.319 GB, free: 11.42 MB / 1.014 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.001602/1.064, allocations: 0.7122 MB / 1.32 GB, free: 10.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/1.064, allocations: 10.44 kB / 1.32 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.057e-05/1.064, allocations: 63 kB / 1.32 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/1.067, allocations: 257.5 kB / 1.32 GB, free: 10.85 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/1.067, allocations: 308.1 kB / 1.321 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/1.067, allocations: 20.78 kB / 1.321 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/1.067, allocations: 25.31 kB / 1.321 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/1.069, allocations: 433.3 kB / 1.321 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/1.069, allocations: 0 / 1.321 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/1.069, allocations: 9 kB / 1.321 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/1.069, allocations: 11.09 kB / 1.321 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/1.071, allocations: 0.5327 MB / 1.322 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/1.075, allocations: 1.131 MB / 1.323 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/1.077, allocations: 464.9 kB / 1.323 GB, free: 9.984 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/1.078, allocations: 229.3 kB / 1.323 GB, free: 9.914 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.81e-05/1.078, allocations: 7.812 kB / 1.323 GB, free: 9.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/1.078, allocations: 40.66 kB / 1.323 GB, free: 9.863 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/1.078, allocations: 0 / 1.323 GB, free: 9.863 MB / 1.014 GB Notification: Performance of matching and sorting (n=25): time 0.01635/1.095, allocations: 1.724 MB / 1.325 GB, free: 9.344 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/1.095, allocations: 58.77 kB / 1.325 GB, free: 9.277 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/1.095, allocations: 307.8 kB / 1.325 GB, free: 9.113 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.296e-05/1.095, allocations: 30.95 kB / 1.325 GB, free: 9.078 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/1.095, allocations: 174 kB / 1.326 GB, free: 8.926 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/1.096, allocations: 92.81 kB / 1.326 GB, free: 8.852 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/1.096, allocations: 75.59 kB / 1.326 GB, free: 8.816 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001733/1.096, allocations: 344 kB / 1.326 GB, free: 8.488 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/1.097, allocations: 199.8 kB / 1.326 GB, free: 8.434 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/1.098, allocations: 264.1 kB / 1.327 GB, free: 8.312 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/1.1, allocations: 430.7 kB / 1.327 GB, free: 8.156 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.1, allocations: 0 / 1.327 GB, free: 8.156 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007168/1.108, allocations: 0.8923 MB / 1.328 GB, free: 7.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/1.108, allocations: 11.09 kB / 1.328 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.108, allocations: 1.266 kB / 1.328 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00195/1.11, allocations: 280 kB / 1.328 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/1.11, allocations: 65.09 kB / 1.328 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0151/1.125, allocations: 4.101 MB / 1.332 GB, free: 4.758 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009256/1.126, allocations: 77.52 kB / 1.332 GB, free: 4.727 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/1.126, allocations: 15.64 kB / 1.332 GB, free: 4.727 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.0002489/1.126, allocations: 145.1 kB / 1.332 GB, free: 4.59 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-05/1.127, allocations: 34.19 kB / 1.332 GB, free: 4.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0073/1.134, allocations: 0.9538 MB / 1.333 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/1.134, allocations: 3.906 kB / 1.333 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.134, allocations: 4 kB / 1.333 GB, free: 4.285 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.134, allocations: 1.781 kB / 1.333 GB, free: 4.285 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007231/1.135, allocations: 428.7 kB / 1.334 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.135, allocations: 0 / 1.334 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/1.135, allocations: 51.66 kB / 1.334 GB, free: 3.984 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/1.137, allocations: 281.4 kB / 1.334 GB, free: 3.922 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/1.137, allocations: 14.28 kB / 1.334 GB, free: 3.918 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/1.152, allocations: 4.083 MB / 1.338 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.152, allocations: 0 / 1.338 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00714/1.159, allocations: 0.9631 MB / 1.339 GB, free: 0.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.159, allocations: 106.5 kB / 1.339 GB, free: 396 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.683e-05/1.159, allocations: 10.22 kB / 1.339 GB, free: 388 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007677/1.16, allocations: 44.41 kB / 1.339 GB, free: 380 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/1.16, allocations: 23.58 kB / 1.339 GB, free: 372 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/1.16, allocations: 19.66 kB / 1.339 GB, free: 368 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002628/1.161, allocations: 227.4 kB / 1.339 GB, free: 240 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.161, allocations: 0 / 1.339 GB, free: 240 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006415/1.161, allocations: 111.6 kB / 1.34 GB, free: 228 kB / 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.007535/1.169, allocations: 1.521 MB / 1.341 GB, free: 15.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002939/1.172, allocations: 0.7244 MB / 1.342 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.172, allocations: 0 / 1.342 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00165/1.173, allocations: 0.5006 MB / 1.342 GB, free: 14.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007457/1.174, allocations: 115.9 kB / 1.342 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/1.194, allocations: 4.389 MB / 1.347 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/1.195, allocations: 0.77 MB / 1.347 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004846/1.195, allocations: 80.44 kB / 1.347 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/1.196, allocations: 96.81 kB / 1.348 GB, free: 11.68 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/1.196, allocations: 1.125 kB / 1.348 GB, free: 11.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04995/1.246, allocations: 16.66 MB / 1.364 GB, free: 3.359 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.86, allocations: 10.05 kB / 1.364 GB, free: 3.352 MB / 1.029 GB (rm -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches