Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_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.0009498/0.0009499, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001136/0.001136, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.531/2.531, allocations: 409.4 MB / 0.684 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003662, allocations: 8 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7425/0.7429, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.00216/0.7451, allocations: 1.334 MB / 0.9824 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000935/0.7461, allocations: 499.4 kB / 0.9829 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.7462, allocations: 0 / 0.9829 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006167/0.7468, allocations: 155.9 kB / 0.9831 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.7471, allocations: 154.3 kB / 0.9832 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.7475, allocations: 169.3 kB / 0.9834 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.7478, allocations: 171.5 kB / 0.9835 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.7479, allocations: 33.52 kB / 0.9836 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.748, allocations: 63.7 kB / 0.9836 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.7482, allocations: 139.6 kB / 0.9838 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.7483, allocations: 12 kB / 0.9838 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.89e-05/0.7484, allocations: 27.97 kB / 0.9838 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/0.7484, allocations: 67.81 kB / 0.9839 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.7485, allocations: 57.52 kB / 0.9839 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.7487, allocations: 213.8 kB / 0.9841 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.7488, allocations: 0 / 0.9841 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7488, allocations: 0 / 0.9841 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.7488, allocations: 0 / 0.9841 GB, free: 3.211 MB / 0.7325 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.0007498/0.7495, allocations: 0.5486 MB / 0.9846 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.7496, allocations: 12.03 kB / 0.9847 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.7496, allocations: 30.56 kB / 0.9847 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.7497, allocations: 27.62 kB / 0.9847 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.7501, allocations: 361.3 kB / 0.9851 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.7501, allocations: 8 kB / 0.9851 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.7501, allocations: 0 / 0.9851 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.7503, allocations: 85.61 kB / 0.9851 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.7503, allocations: 0 / 0.9851 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.7504, allocations: 0 / 0.9851 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.7504, allocations: 0 / 0.9851 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.7506, allocations: 71.88 kB / 0.9852 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.751, allocations: 424.6 kB / 0.9856 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.7512, allocations: 54.58 kB / 0.9857 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.167e-05/0.7513, allocations: 32.91 kB / 0.9857 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.7513, allocations: 0 / 0.9857 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.7513, allocations: 38.55 kB / 0.9857 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.7514, allocations: 0 / 0.9857 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003685/0.7517, allocations: 133.3 kB / 0.9859 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.7518, allocations: 55.34 kB / 0.9859 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/0.7523, allocations: 0.5094 MB / 0.9864 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.7523, allocations: 29.64 kB / 0.9864 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.7524, allocations: 175.9 kB / 0.9866 GB, free: 444 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.7525, allocations: 11.89 kB / 0.9866 GB, free: 432 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.7525, allocations: 0 / 0.9866 GB, free: 432 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7526, allocations: 342.8 kB / 0.987 GB, free: 80 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.402e-05/0.7527, allocations: 23.98 kB / 0.987 GB, free: 56 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-05/0.7528, allocations: 31.97 kB / 0.987 GB, free: 24 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.51e-05/0.7529, allocations: 19.98 kB / 0.987 GB, free: 4 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7529, allocations: 0 / 0.987 GB, free: 4 kB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002366/0.7531, allocations: 113.3 kB / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.7531, allocations: 4 kB / 0.9871 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7531, allocations: 0 / 0.9871 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.7532, allocations: 0 / 0.9871 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.7532, allocations: 19.92 kB / 0.9872 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.7533, allocations: 0 / 0.9872 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.7533, allocations: 11.98 kB / 0.9872 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.7534, allocations: 4 kB / 0.9872 GB, free: 15.85 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.7535, allocations: 177.8 kB / 0.9873 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.7535, allocations: 27.62 kB / 0.9874 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.7538, allocations: 116.1 kB / 0.9875 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.7538, allocations: 0 / 0.9875 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7538, allocations: 4 kB / 0.9875 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7538, allocations: 0 / 0.9875 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.7541, allocations: 265.5 kB / 0.9877 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7541, allocations: 0 / 0.9877 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-05/0.7541, allocations: 15.98 kB / 0.9878 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.7542, allocations: 3.938 kB / 0.9878 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.7542, allocations: 0 / 0.9878 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7542, allocations: 0 / 0.9878 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7542, allocations: 4 kB / 0.9878 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.7544, allocations: 199.5 kB / 0.9879 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-05/0.7545, allocations: 124.7 kB / 0.9881 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.7546, allocations: 7.984 kB / 0.9881 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.7547, allocations: 12 kB / 0.9881 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.7547, allocations: 3.984 kB / 0.9881 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.7547, allocations: 4 kB / 0.9881 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003632/0.7551, allocations: 383.1 kB / 0.9885 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7551, allocations: 3.938 kB / 0.9885 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002488/0.7553, allocations: 31.92 kB / 0.9885 GB, free: 14.39 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001171/0.7565, allocations: 0.9858 MB / 0.9895 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.7567, allocations: 47.95 kB / 0.9895 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7567, allocations: 4 kB / 0.9895 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.621e-05/0.7568, allocations: 31.92 kB / 0.9895 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.7572, allocations: 34.97 kB / 0.9896 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.7596, allocations: 1.747 MB / 0.9913 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.7599, allocations: 0.7674 MB / 0.992 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.975e-05/0.76, allocations: 45.92 kB / 0.9921 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.7601, allocations: 87.39 kB / 0.9922 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.7601, allocations: 0 / 0.9922 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.7746, allocations: 4.97 MB / 0.997 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.7748, allocations: 224.2 kB / 0.9972 GB, free: 5.605 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.576, allocations: 0 / 0.9972 GB, free: 5.605 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat does not exist to compare? outputFormat=mat