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.001705/0.001705, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002323/0.002323, allocations: 196.3 kB / 16.14 MB, free: 6.711 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.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.395/2.395, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001471, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6532/0.6547, allocations: 140.4 MB / 0.949 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002884/0.6576, allocations: 1.701 MB / 0.9507 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008622/0.6585, allocations: 0.514 MB / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.6587, allocations: 0 / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.6592, allocations: 184.5 kB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.6595, allocations: 147.4 kB / 0.9515 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.6599, allocations: 178.3 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.6602, allocations: 182.5 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.6603, allocations: 43.62 kB / 0.9519 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.407e-05/0.6604, allocations: 76.73 kB / 0.952 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.6605, allocations: 150.7 kB / 0.9521 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.6606, allocations: 5.188 kB / 0.9521 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.229e-05/0.6607, allocations: 30.67 kB / 0.9521 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.6608, allocations: 72 kB / 0.9522 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.6608, allocations: 90.5 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.661, allocations: 256 kB / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6611, allocations: 1.344 kB / 0.9526 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.42e-07/0.6611, allocations: 4 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.6611, allocations: 0 / 0.9526 GB, free: 6.527 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.0006151/0.6617, allocations: 0.5866 MB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.6617, allocations: 8.969 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.601e-05/0.6618, allocations: 37.38 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.6618, allocations: 33.27 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.6622, allocations: 365.3 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.6622, allocations: 6.906 kB / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.6622, allocations: 2.844 kB / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.6624, allocations: 82.94 kB / 0.9536 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.6624, allocations: 0 / 0.9536 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.6624, allocations: 1.469 kB / 0.9536 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6624, allocations: 0 / 0.9536 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.6626, allocations: 52.73 kB / 0.9537 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.663, allocations: 428.8 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.6632, allocations: 50.64 kB / 0.9541 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.564e-05/0.6633, allocations: 27.3 kB / 0.9542 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.6633, allocations: 5.516 kB / 0.9542 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.6633, allocations: 34.66 kB / 0.9542 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.6633, allocations: 5.188 kB / 0.9542 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003768/0.6637, allocations: 115 kB / 0.9543 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.6638, allocations: 52.47 kB / 0.9544 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.6643, allocations: 0.5118 MB / 0.9549 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.6643, allocations: 26.8 kB / 0.9549 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.6644, allocations: 176.9 kB / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.6644, allocations: 9.062 kB / 0.9551 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.6644, allocations: 13.34 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.6645, allocations: 344.8 kB / 0.9554 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.781e-05/0.6646, allocations: 18.58 kB / 0.9554 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.6647, allocations: 18.64 kB / 0.9555 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.6648, allocations: 53.88 kB / 0.9555 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6648, allocations: 0 / 0.9555 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002207/0.6651, allocations: 95.34 kB / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.6651, allocations: 6.25 kB / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6651, allocations: 1.406 kB / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.6651, allocations: 0 / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/0.6652, allocations: 15.11 kB / 0.9556 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6652, allocations: 5.188 kB / 0.9556 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.918e-05/0.6653, allocations: 11.47 kB / 0.9556 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.6653, allocations: 5.047 kB / 0.9556 GB, free: 3.922 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.0001144/0.6655, allocations: 168.2 kB / 0.9558 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.6655, allocations: 27.62 kB / 0.9558 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.6658, allocations: 113.2 kB / 0.9559 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6658, allocations: 4 kB / 0.9559 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6658, allocations: 3.812 kB / 0.9559 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.6658, allocations: 3.938 kB / 0.9559 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.666, allocations: 260.3 kB / 0.9562 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.666, allocations: 0 / 0.9562 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.6661, allocations: 10.8 kB / 0.9562 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.6661, allocations: 1.656 kB / 0.9562 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.6661, allocations: 0 / 0.9562 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6661, allocations: 0 / 0.9562 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6661, allocations: 1.344 kB / 0.9562 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.6664, allocations: 202.4 kB / 0.9564 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.6664, allocations: 113.9 kB / 0.9565 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.6665, allocations: 3.938 kB / 0.9565 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.6666, allocations: 8.047 kB / 0.9565 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.6666, allocations: 6.016 kB / 0.9565 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.6666, allocations: 3.984 kB / 0.9565 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003556/0.667, allocations: 391.7 kB / 0.9569 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.667, allocations: 3.938 kB / 0.9569 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000257/0.6672, allocations: 23.16 kB / 0.9569 GB, free: 2.895 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.001117/0.6684, allocations: 0.9733 MB / 0.9579 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.6686, allocations: 44.42 kB / 0.9579 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6686, allocations: 0 / 0.9579 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.589e-05/0.6687, allocations: 30.62 kB / 0.958 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.6691, allocations: 40.95 kB / 0.958 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.6722, allocations: 2.642 MB / 0.9606 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.6725, allocations: 0.7711 MB / 0.9613 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.6726, allocations: 46.14 kB / 0.9614 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.6727, allocations: 82.91 kB / 0.9614 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.6727, allocations: 0 / 0.9614 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.6889, allocations: 4.688 MB / 0.966 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.6892, allocations: 244 kB / 0.9663 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.423, allocations: 0 / 0.9663 GB, free: 12.8 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