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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000903/0.0009031, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.005382/0.005382, allocations: 172 kB / 16.26 MB, free: 6.613 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.255/1.255, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5392/0.5395, allocations: 142.4 MB / 0.9552 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.001453/0.541, allocations: 1.36 MB / 0.9565 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006878/0.5417, allocations: 0.5077 MB / 0.957 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.5418, allocations: 1.281 kB / 0.957 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.5422, allocations: 181.1 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.5424, allocations: 142.8 kB / 0.9573 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.5427, allocations: 186.5 kB / 0.9575 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.5429, allocations: 186.5 kB / 0.9576 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.543, allocations: 39.95 kB / 0.9577 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.197e-05/0.5431, allocations: 62.81 kB / 0.9577 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.5433, allocations: 152.9 kB / 0.9579 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.5433, allocations: 9.812 kB / 0.9579 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.896e-05/0.5434, allocations: 27.52 kB / 0.9579 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.5435, allocations: 65.34 kB / 0.958 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.5435, allocations: 112.3 kB / 0.9581 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.5437, allocations: 255.5 kB / 0.9583 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.5438, allocations: 0 / 0.9583 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5438, allocations: 0 / 0.9583 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.5438, allocations: 0 / 0.9583 GB, free: 5.293 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.0005263/0.5443, allocations: 0.56 MB / 0.9589 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.5443, allocations: 10.41 kB / 0.9589 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.388e-05/0.5444, allocations: 36.09 kB / 0.9589 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.5444, allocations: 29.28 kB / 0.959 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.5448, allocations: 370.3 kB / 0.9593 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.5448, allocations: 1.75 kB / 0.9593 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.5448, allocations: 3.125 kB / 0.9593 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.545, allocations: 91.59 kB / 0.9594 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.545, allocations: 0 / 0.9594 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.545, allocations: 1.375 kB / 0.9594 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.545, allocations: 1.375 kB / 0.9594 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.5452, allocations: 61.08 kB / 0.9595 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.5456, allocations: 432.4 kB / 0.9599 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.5457, allocations: 55.3 kB / 0.9599 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.871e-05/0.5458, allocations: 33.34 kB / 0.96 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.5459, allocations: 1.375 kB / 0.96 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.5459, allocations: 38.58 kB / 0.96 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.5459, allocations: 1.375 kB / 0.96 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003525/0.5462, allocations: 130 kB / 0.9601 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.5463, allocations: 52.78 kB / 0.9602 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004631/0.5467, allocations: 0.5079 MB / 0.9607 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.5467, allocations: 25.7 kB / 0.9607 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.5468, allocations: 177.2 kB / 0.9609 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.5468, allocations: 9.656 kB / 0.9609 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/0.5469, allocations: 14.59 kB / 0.9609 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/0.5469, allocations: 341.3 kB / 0.9612 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/0.547, allocations: 27.16 kB / 0.9612 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-05/0.5471, allocations: 31.67 kB / 0.9613 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.5473, allocations: 59.84 kB / 0.9613 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5473, allocations: 0 / 0.9613 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002155/0.5475, allocations: 108.5 kB / 0.9614 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.5475, allocations: 4.969 kB / 0.9614 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.5475, allocations: 0 / 0.9614 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.5475, allocations: 1.156 kB / 0.9614 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.5476, allocations: 13.55 kB / 0.9614 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.5476, allocations: 1.125 kB / 0.9614 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.5477, allocations: 14 kB / 0.9615 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.5477, allocations: 1.125 kB / 0.9615 GB, free: 2.711 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 9.973e-05/0.5478, allocations: 170.5 kB / 0.9616 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.5479, allocations: 28.34 kB / 0.9616 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.5481, allocations: 123 kB / 0.9618 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.5482, allocations: 5.297 kB / 0.9618 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5482, allocations: 0 / 0.9618 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5482, allocations: 5.219 kB / 0.9618 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.5484, allocations: 258 kB / 0.962 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5484, allocations: 4 kB / 0.962 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.5484, allocations: 13.77 kB / 0.962 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5484, allocations: 5.156 kB / 0.962 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-06/0.5485, allocations: 3.938 kB / 0.962 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5485, allocations: 0.9375 kB / 0.962 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5485, allocations: 0 / 0.962 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.5487, allocations: 216 kB / 0.9623 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.5488, allocations: 118.4 kB / 0.9624 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.5488, allocations: 1.031 kB / 0.9624 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.5489, allocations: 9.984 kB / 0.9624 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.549, allocations: 6 kB / 0.9624 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.549, allocations: 1.25 kB / 0.9624 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003346/0.5493, allocations: 386.3 kB / 0.9628 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5493, allocations: 0 / 0.9628 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002448/0.5496, allocations: 27.27 kB / 0.9628 GB, free: 1.676 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.0009875/0.5505, allocations: 0.9957 MB / 0.9638 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.5508, allocations: 58.02 kB / 0.9638 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5508, allocations: 0 / 0.9638 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.946e-05/0.5509, allocations: 22.8 kB / 0.9638 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.5512, allocations: 43.52 kB / 0.9639 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.554, allocations: 2.666 MB / 0.9665 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.5543, allocations: 0.7765 MB / 0.9672 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.182e-05/0.5544, allocations: 37.95 kB / 0.9673 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.5545, allocations: 83.06 kB / 0.9673 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of SimCode: time 4.198e-06/0.5545, allocations: 0 / 0.9673 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.55/2.105, allocations: 4.492 MB / 0.9717 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/2.105, allocations: 229.8 kB / 0.972 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/3.848, allocations: 0 / 0.972 GB, free: 11.79 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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