Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.Table.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.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_Table",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.001393/0.001393, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.529/2.529, allocations: 390.2 MB / 0.6647 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001537, allocations: 59.89 kB / 0.8126 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8053, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003182/0.8085, allocations: 1.635 MB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008481/0.8094, allocations: 0.5216 MB / 0.9518 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.808e-05/0.8095, allocations: 5.5 kB / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.81, allocations: 177.8 kB / 0.952 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.8104, allocations: 166.1 kB / 0.9521 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.8108, allocations: 204.3 kB / 0.9523 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.8111, allocations: 195.7 kB / 0.9525 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.8112, allocations: 35.84 kB / 0.9526 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.8113, allocations: 83.52 kB / 0.9526 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.8116, allocations: 164.4 kB / 0.9528 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.8116, allocations: 12 kB / 0.9528 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.8117, allocations: 41.3 kB / 0.9529 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.674e-05/0.8118, allocations: 80.77 kB / 0.9529 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.736e-05/0.8119, allocations: 97.44 kB / 0.953 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.8122, allocations: 263.3 kB / 0.9533 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8122, allocations: 0 / 0.9533 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8122, allocations: 0 / 0.9533 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.8123, allocations: 1.281 kB / 0.9533 GB, free: 6.566 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007542/0.813, allocations: 0.5822 MB / 0.9538 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.8131, allocations: 10.12 kB / 0.9539 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.8131, allocations: 35.89 kB / 0.9539 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.8132, allocations: 29.44 kB / 0.9539 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.8136, allocations: 370 kB / 0.9543 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.8136, allocations: 5.625 kB / 0.9543 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.8137, allocations: 3.594 kB / 0.9543 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.8139, allocations: 74.78 kB / 0.9543 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.8139, allocations: 0 / 0.9543 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.8139, allocations: 5.125 kB / 0.9544 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.8139, allocations: 1.312 kB / 0.9544 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.8141, allocations: 60.84 kB / 0.9544 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.8146, allocations: 419.9 kB / 0.9548 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.8148, allocations: 49.53 kB / 0.9549 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.8149, allocations: 33.47 kB / 0.9549 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.8149, allocations: 0 / 0.9549 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.8149, allocations: 35.84 kB / 0.9549 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.8149, allocations: 0 / 0.9549 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003795/0.8153, allocations: 115.8 kB / 0.955 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.8153, allocations: 56.31 kB / 0.9551 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.8158, allocations: 0.517 MB / 0.9556 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.8158, allocations: 25.7 kB / 0.9556 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.422e-05/0.8159, allocations: 169.3 kB / 0.9558 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.8159, allocations: 8.875 kB / 0.9558 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.816, allocations: 16.64 kB / 0.9558 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.816, allocations: 345.6 kB / 0.9561 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.398e-05/0.8161, allocations: 18.89 kB / 0.9562 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.8162, allocations: 21.16 kB / 0.9562 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.8164, allocations: 44.05 kB / 0.9562 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8164, allocations: 0 / 0.9562 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000211/0.8166, allocations: 101 kB / 0.9563 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.8166, allocations: 7.531 kB / 0.9563 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.8166, allocations: 3.938 kB / 0.9563 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.8166, allocations: 0 / 0.9563 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.8168, allocations: 16.23 kB / 0.9563 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.8168, allocations: 0 / 0.9563 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.8169, allocations: 12.05 kB / 0.9563 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.8169, allocations: 1.375 kB / 0.9564 GB, free: 3.973 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.817, allocations: 170.9 kB / 0.9565 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.817, allocations: 27.91 kB / 0.9565 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.8173, allocations: 109.8 kB / 0.9566 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.8173, allocations: 0 / 0.9566 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8173, allocations: 1.5 kB / 0.9566 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.8174, allocations: 3.938 kB / 0.9566 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.8176, allocations: 258.2 kB / 0.9569 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8176, allocations: 4 kB / 0.9569 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.429e-05/0.8177, allocations: 19.36 kB / 0.9569 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8177, allocations: 1.25 kB / 0.9569 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.8177, allocations: 0 / 0.9569 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8177, allocations: 1.531 kB / 0.9569 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8177, allocations: 0 / 0.9569 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.818, allocations: 197.8 kB / 0.9571 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.282e-05/0.818, allocations: 114.2 kB / 0.9572 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.8181, allocations: 1.156 kB / 0.9572 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.8182, allocations: 7.203 kB / 0.9572 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.8182, allocations: 5.297 kB / 0.9572 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.8182, allocations: 4.922 kB / 0.9572 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003752/0.8186, allocations: 387.5 kB / 0.9576 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8186, allocations: 0 / 0.9576 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002662/0.8189, allocations: 34.92 kB / 0.9576 GB, free: 2.941 MB / 0.7169 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001126/0.82, allocations: 0.974 MB / 0.9586 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.8203, allocations: 44.55 kB / 0.9586 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.8203, allocations: 0 / 0.9586 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.204e-05/0.8204, allocations: 25.58 kB / 0.9587 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.8209, allocations: 43.81 kB / 0.9587 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.8236, allocations: 2.608 MB / 0.9612 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.824, allocations: 0.7763 MB / 0.962 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.977e-05/0.8241, allocations: 36.14 kB / 0.962 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.8242, allocations: 87.97 kB / 0.9621 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/0.8242, allocations: 0 / 0.9621 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.847, allocations: 4.932 MB / 0.9669 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.56, allocations: 11.58 kB / 0.9669 GB, free: 12.97 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.SetPoints.Examples.Table_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_Controls_SetPoints_Examples_Table.fmu > Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches