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.001126/0.001126, 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.001186/0.001186, allocations: 194.6 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.261/2.261, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 64.14 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.525/0.5263, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002439/0.5287, allocations: 1.649 MB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007115/0.5295, allocations: 0.5219 MB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.5295, allocations: 1.344 kB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.53, allocations: 181.1 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.5303, allocations: 162.5 kB / 0.9522 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.5306, allocations: 195.1 kB / 0.9523 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.5308, allocations: 200.3 kB / 0.9525 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.5309, allocations: 35.88 kB / 0.9526 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.613e-05/0.531, allocations: 83.58 kB / 0.9526 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.5312, allocations: 159.8 kB / 0.9528 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.5312, allocations: 11.5 kB / 0.9528 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.17e-05/0.5313, allocations: 48.84 kB / 0.9529 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/0.5314, allocations: 72.94 kB / 0.9529 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.081e-05/0.5315, allocations: 94.06 kB / 0.953 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.5317, allocations: 263.4 kB / 0.9533 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5317, allocations: 0 / 0.9533 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5317, allocations: 0 / 0.9533 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.5317, allocations: 1.156 kB / 0.9533 GB, free: 6.559 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.0005836/0.5323, allocations: 0.5865 MB / 0.9538 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.5323, allocations: 10.25 kB / 0.9539 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.286e-05/0.5324, allocations: 38.73 kB / 0.9539 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.5324, allocations: 30.34 kB / 0.9539 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.5328, allocations: 365.1 kB / 0.9543 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.5328, allocations: 2.656 kB / 0.9543 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.5328, allocations: 2.656 kB / 0.9543 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.533, allocations: 83.66 kB / 0.9544 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.533, allocations: 0 / 0.9544 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.533, allocations: 5.188 kB / 0.9544 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.533, allocations: 1.062 kB / 0.9544 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.5332, allocations: 47.8 kB / 0.9544 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.5336, allocations: 436.2 kB / 0.9548 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.5337, allocations: 46.16 kB / 0.9549 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.382e-05/0.5338, allocations: 29.11 kB / 0.9549 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.5339, allocations: 0 / 0.9549 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.114e-05/0.5339, allocations: 35.56 kB / 0.9549 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.5339, allocations: 1.156 kB / 0.9549 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003466/0.5342, allocations: 123.7 kB / 0.955 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.71e-05/0.5343, allocations: 52.56 kB / 0.9551 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004373/0.5347, allocations: 0.5119 MB / 0.9556 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.5347, allocations: 29.69 kB / 0.9556 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.5348, allocations: 170.2 kB / 0.9558 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.5348, allocations: 9.719 kB / 0.9558 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.5348, allocations: 15.5 kB / 0.9558 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.218e-05/0.5349, allocations: 345.5 kB / 0.9561 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.922e-05/0.535, allocations: 22.77 kB / 0.9562 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.256e-05/0.5351, allocations: 14.92 kB / 0.9562 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.5352, allocations: 53.56 kB / 0.9562 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5352, allocations: 3.938 kB / 0.9562 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002065/0.5355, allocations: 98.41 kB / 0.9563 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5355, allocations: 5.688 kB / 0.9563 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.5355, allocations: 0 / 0.9563 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.5355, allocations: 0 / 0.9563 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.5356, allocations: 12.11 kB / 0.9563 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.5356, allocations: 0 / 0.9563 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.5357, allocations: 16.52 kB / 0.9564 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.5357, allocations: 1.25 kB / 0.9564 GB, free: 3.953 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.827e-05/0.5358, allocations: 166 kB / 0.9565 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.5358, allocations: 28.41 kB / 0.9565 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.5361, allocations: 113.4 kB / 0.9566 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.5361, allocations: 1.094 kB / 0.9567 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.5361, allocations: 0 / 0.9567 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5361, allocations: 9.031 kB / 0.9567 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.5363, allocations: 258.1 kB / 0.9569 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.5363, allocations: 0 / 0.9569 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.5364, allocations: 11.73 kB / 0.9569 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5364, allocations: 0 / 0.9569 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.5364, allocations: 1.062 kB / 0.9569 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5364, allocations: 1.219 kB / 0.9569 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5364, allocations: 0 / 0.9569 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.5366, allocations: 204.9 kB / 0.9571 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.5367, allocations: 114.8 kB / 0.9572 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.5367, allocations: 0.9688 kB / 0.9572 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.5368, allocations: 7.078 kB / 0.9572 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.5369, allocations: 5.281 kB / 0.9572 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.5369, allocations: 1.125 kB / 0.9572 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003166/0.5372, allocations: 387.1 kB / 0.9576 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5372, allocations: 0 / 0.9576 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000251/0.5375, allocations: 31.62 kB / 0.9576 GB, free: 2.93 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.0009957/0.5385, allocations: 0.9798 MB / 0.9586 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.5387, allocations: 40.66 kB / 0.9586 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5387, allocations: 0 / 0.9586 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.323e-05/0.5388, allocations: 25.72 kB / 0.9587 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.5392, allocations: 47.95 kB / 0.9587 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.5416, allocations: 2.599 MB / 0.9612 GB, free: 268 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.5419, allocations: 0.7716 MB / 0.962 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.981e-05/0.542, allocations: 37.27 kB / 0.962 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.5421, allocations: 83.47 kB / 0.9621 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.5421, allocations: 4 kB / 0.9621 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.5624, allocations: 4.939 MB / 0.9669 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/8.846, allocations: 6.609 kB / 0.9669 GB, free: 12.96 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