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.001583/0.001583, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.002178/0.002178, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.704/2.704, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.834/4.834, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006324/0.0006324, allocations: 8 kB / 0.8375 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226/1.226, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003373/1.23, allocations: 1.338 MB / 0.9822 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001384/1.231, allocations: 471.3 kB / 0.9826 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/1.231, allocations: 0 / 0.9826 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/1.233, allocations: 151.9 kB / 0.9828 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005162/1.233, allocations: 149.6 kB / 0.9829 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006781/1.234, allocations: 166.7 kB / 0.9831 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003794/1.234, allocations: 123.8 kB / 0.9832 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/1.234, allocations: 29.53 kB / 0.9832 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/1.235, allocations: 63.73 kB / 0.9833 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/1.235, allocations: 139.6 kB / 0.9834 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/1.235, allocations: 4 kB / 0.9834 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/1.235, allocations: 27.88 kB / 0.9834 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000146/1.235, allocations: 67.8 kB / 0.9835 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/1.235, allocations: 57.52 kB / 0.9836 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004061/1.236, allocations: 205.8 kB / 0.9837 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.236, allocations: 4 kB / 0.9838 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.126e-06/1.236, allocations: 0 / 0.9838 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.272e-05/1.236, allocations: 4 kB / 0.9838 GB, free: 3.352 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.001452/1.237, allocations: 0.5505 MB / 0.9843 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.007e-05/1.237, allocations: 11.97 kB / 0.9843 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.276e-05/1.238, allocations: 42.5 kB / 0.9843 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.074e-05/1.238, allocations: 27.62 kB / 0.9844 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007349/1.238, allocations: 357.4 kB / 0.9847 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/1.238, allocations: 7.984 kB / 0.9847 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/1.238, allocations: 4 kB / 0.9847 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/1.239, allocations: 81.62 kB / 0.9848 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.239, allocations: 3.938 kB / 0.9848 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/1.239, allocations: 3.984 kB / 0.9848 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/1.239, allocations: 0 / 0.9848 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/1.239, allocations: 63.95 kB / 0.9849 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/1.24, allocations: 428.5 kB / 0.9853 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/1.24, allocations: 58.61 kB / 0.9853 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/1.24, allocations: 0 / 0.9853 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/1.24, allocations: 34.56 kB / 0.9854 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/1.24, allocations: 0 / 0.9854 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0006492/1.241, allocations: 133.4 kB / 0.9855 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/1.241, allocations: 55.41 kB / 0.9855 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008961/1.242, allocations: 0.5094 MB / 0.986 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/1.242, allocations: 25.7 kB / 0.9861 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/1.242, allocations: 171.9 kB / 0.9862 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/1.242, allocations: 7.906 kB / 0.9862 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/1.242, allocations: 0 / 0.9862 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002366/1.243, allocations: 346.8 kB / 0.9866 GB, free: 256 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/1.243, allocations: 27.97 kB / 0.9866 GB, free: 228 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/1.243, allocations: 19.98 kB / 0.9866 GB, free: 208 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/1.243, allocations: 27.94 kB / 0.9866 GB, free: 180 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.243, allocations: 4 kB / 0.9866 GB, free: 176 kB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003476/1.243, allocations: 113.2 kB / 0.9868 GB, free: 56 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.243, allocations: 8 kB / 0.9868 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.243, allocations: 4 kB / 0.9868 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.243, allocations: 3.938 kB / 0.9868 GB, free: 40 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/1.244, allocations: 11.98 kB / 0.9868 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/1.244, allocations: 0 / 0.9868 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/1.244, allocations: 11.98 kB / 0.9868 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/1.244, allocations: 0 / 0.9868 GB, free: 16 kB / 0.7325 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.0002797/1.244, allocations: 173.8 kB / 0.987 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.661e-05/1.244, allocations: 27.62 kB / 0.987 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/1.245, allocations: 120.1 kB / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.245, allocations: 4 kB / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.245, allocations: 4 kB / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.245, allocations: 384 / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/1.245, allocations: 261.5 kB / 0.9874 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.245, allocations: 3.953 kB / 0.9874 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/1.245, allocations: 19.98 kB / 0.9874 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/1.245, allocations: 0 / 0.9874 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/1.245, allocations: 0 / 0.9874 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.245, allocations: 0 / 0.9874 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.245, allocations: 0 / 0.9874 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/1.246, allocations: 211.1 kB / 0.9876 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/1.246, allocations: 120.7 kB / 0.9877 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.009e-05/1.246, allocations: 0 / 0.9877 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/1.246, allocations: 15.98 kB / 0.9877 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/1.246, allocations: 4 kB / 0.9877 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/1.246, allocations: 4 kB / 0.9877 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000625/1.247, allocations: 383.1 kB / 0.9881 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/1.247, allocations: 0 / 0.9881 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000427/1.247, allocations: 27.94 kB / 0.9881 GB, free: 14.56 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.002165/1.249, allocations: 0.9894 MB / 0.9891 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003391/1.25, allocations: 55.95 kB / 0.9891 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.25, allocations: 0 / 0.9891 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/1.25, allocations: 35.92 kB / 0.9892 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/1.25, allocations: 45.41 kB / 0.9892 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/1.255, allocations: 1.68 MB / 0.9909 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/1.255, allocations: 0.7752 MB / 0.9916 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001834/1.255, allocations: 41.92 kB / 0.9916 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/1.256, allocations: 83.41 kB / 0.9917 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of SimCode: time 1.112e-06/1.256, allocations: 0 / 0.9917 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/1.285, allocations: 4.957 MB / 0.9966 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005286/1.286, allocations: 220.9 kB / 0.9968 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.99/4.276, allocations: 3.938 kB / 0.9968 GB, free: 5.824 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