Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_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.008102/0.008102, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.002187/0.002188, allocations: 192.1 kB / 16.68 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.738/2.738, allocations: 482.4 MB / 0.7548 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 62.48 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2956, allocations: 162.2 MB / 1.241 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00348/0.2991, allocations: 2.31 MB / 1.244 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1716/0.4707, allocations: 152 MB / 1.392 GB, free: 14.43 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.4709, allocations: 4 kB / 1.392 GB, free: 14.43 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.4712, allocations: 47.47 kB / 1.392 GB, free: 14.38 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.4715, allocations: 107.2 kB / 1.392 GB, free: 14.28 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.4722, allocations: 299 kB / 1.393 GB, free: 13.98 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.4727, allocations: 427.8 kB / 1.393 GB, free: 13.56 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.4729, allocations: 115.9 kB / 1.393 GB, free: 13.45 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.4743, allocations: 290.1 kB / 1.393 GB, free: 13.19 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.4746, allocations: 179.2 kB / 1.394 GB, free: 13.02 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.4746, allocations: 32 kB / 1.394 GB, free: 12.98 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005436/0.4752, allocations: 279.6 kB / 1.394 GB, free: 12.71 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.4753, allocations: 83.72 kB / 1.394 GB, free: 12.63 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.4755, allocations: 155.2 kB / 1.394 GB, free: 12.48 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006758/0.4762, allocations: 0.4981 MB / 1.395 GB, free: 11.98 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4762, allocations: 0 / 1.395 GB, free: 11.98 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.356e-06/0.4762, allocations: 0 / 1.395 GB, free: 11.98 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.4762, allocations: 3.938 kB / 1.395 GB, free: 11.97 MB / 1.123 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.001482/0.4777, allocations: 0.7088 MB / 1.395 GB, free: 11.21 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4777, allocations: 12.03 kB / 1.395 GB, free: 11.2 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.189e-05/0.4778, allocations: 62.72 kB / 1.395 GB, free: 11.13 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.4806, allocations: 259.5 kB / 1.396 GB, free: 10.88 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.4811, allocations: 311.4 kB / 1.396 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.4811, allocations: 20.56 kB / 1.396 GB, free: 10.52 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.4812, allocations: 27.98 kB / 1.396 GB, free: 10.49 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.4827, allocations: 432.5 kB / 1.396 GB, free: 10.06 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4827, allocations: 0 / 1.396 GB, free: 10.06 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.4828, allocations: 15.94 kB / 1.396 GB, free: 10.05 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.4828, allocations: 4 kB / 1.396 GB, free: 10.04 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.4852, allocations: 0.5252 MB / 1.397 GB, free: 9.516 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.4884, allocations: 1.136 MB / 1.398 GB, free: 8.328 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/0.4908, allocations: 458.3 kB / 1.398 GB, free: 7.871 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.4919, allocations: 228.7 kB / 1.399 GB, free: 7.645 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.492, allocations: 11.98 kB / 1.399 GB, free: 7.633 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.492, allocations: 34.5 kB / 1.399 GB, free: 7.59 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.492, allocations: 0 / 1.399 GB, free: 7.59 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.01649/0.5085, allocations: 1.73 MB / 1.4 GB, free: 5.812 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.5086, allocations: 59.34 kB / 1.4 GB, free: 5.742 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.5089, allocations: 304.5 kB / 1.401 GB, free: 5.438 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.509, allocations: 33.7 kB / 1.401 GB, free: 5.398 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.5091, allocations: 168.4 kB / 1.401 GB, free: 5.23 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.5093, allocations: 95.2 kB / 1.401 GB, free: 5.137 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.5094, allocations: 73.92 kB / 1.401 GB, free: 5.055 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.5096, allocations: 350.7 kB / 1.401 GB, free: 4.703 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.5107, allocations: 200.4 kB / 1.402 GB, free: 4.508 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.5119, allocations: 262.9 kB / 1.402 GB, free: 4.23 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.5141, allocations: 430.8 kB / 1.402 GB, free: 3.801 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5141, allocations: 0 / 1.402 GB, free: 3.801 MB / 1.123 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007479/0.5216, allocations: 0.9006 MB / 1.403 GB, free: 2.887 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.5216, allocations: 8 kB / 1.403 GB, free: 2.879 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5217, allocations: 0 / 1.403 GB, free: 2.879 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/0.5236, allocations: 281.4 kB / 1.403 GB, free: 2.598 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/0.5241, allocations: 71.81 kB / 1.403 GB, free: 2.527 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/0.5397, allocations: 4.086 MB / 1.407 GB, free: 14.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008324/0.5406, allocations: 71.69 kB / 1.407 GB, free: 14.09 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/0.5406, allocations: 19.97 kB / 1.408 GB, free: 14.07 MB / 1.139 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.0002087/0.5409, allocations: 145.8 kB / 1.408 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.998e-05/0.541, allocations: 31.81 kB / 1.408 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007616/0.5486, allocations: 0.9507 MB / 1.409 GB, free: 12.92 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.5486, allocations: 0 / 1.409 GB, free: 12.92 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.5486, allocations: 0 / 1.409 GB, free: 12.92 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5486, allocations: 4 kB / 1.409 GB, free: 12.92 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.5492, allocations: 428.8 kB / 1.409 GB, free: 12.45 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5492, allocations: 0 / 1.409 GB, free: 12.45 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.5496, allocations: 59.89 kB / 1.409 GB, free: 12.39 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/0.5515, allocations: 277.4 kB / 1.409 GB, free: 12.11 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/0.5516, allocations: 15.97 kB / 1.409 GB, free: 12.1 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01534/0.5669, allocations: 4.085 MB / 1.413 GB, free: 7.727 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5669, allocations: 0 / 1.413 GB, free: 7.727 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007426/0.5744, allocations: 0.9613 MB / 1.414 GB, free: 6.742 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.902e-05/0.5745, allocations: 112.8 kB / 1.414 GB, free: 6.613 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.5746, allocations: 4 kB / 1.414 GB, free: 6.609 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007575/0.5753, allocations: 43.95 kB / 1.414 GB, free: 6.566 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.5754, allocations: 23.91 kB / 1.414 GB, free: 6.543 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/0.5755, allocations: 27.89 kB / 1.414 GB, free: 6.516 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002579/0.5757, allocations: 227.1 kB / 1.415 GB, free: 6.297 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5757, allocations: 0 / 1.415 GB, free: 6.297 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000567/0.5763, allocations: 107.9 kB / 1.415 GB, free: 6.191 MB / 1.139 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.007838/0.5842, allocations: 1.522 MB / 1.416 GB, free: 4.637 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002943/0.5871, allocations: 0.7273 MB / 1.417 GB, free: 3.883 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.5871, allocations: 0 / 1.417 GB, free: 3.883 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.5888, allocations: 0.5016 MB / 1.417 GB, free: 3.355 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006851/0.5895, allocations: 119.7 kB / 1.418 GB, free: 3.242 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/0.6098, allocations: 4.382 MB / 1.422 GB, free: 14.75 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.6102, allocations: 0.7645 MB / 1.423 GB, free: 13.96 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003963/0.6106, allocations: 82.86 kB / 1.423 GB, free: 13.88 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.6109, allocations: 103.4 kB / 1.423 GB, free: 13.78 MB / 1.154 GB Notification: Performance of SimCode: time 7.22e-07/0.6109, allocations: 7.938 kB / 1.423 GB, free: 13.77 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0481/0.659, allocations: 16.65 MB / 1.439 GB, free: 13.29 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.53, allocations: 4 kB / 1.439 GB, free: 13.29 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches