Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",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.0009143/0.0009143, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001085/0.001085, allocations: 172.7 kB / 15.95 MB, free: 208 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.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.571/2.571, allocations: 409.4 MB / 0.684 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004564, allocations: 16 kB / 0.8378 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/0.7775, allocations: 146.8 MB / 0.9812 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.001041/0.7786, allocations: 0.5122 MB / 0.9817 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.7797, allocations: 0.8702 MB / 0.9825 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.7798, allocations: 0 / 0.9825 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.78, allocations: 7.938 kB / 0.9825 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.857e-05/0.78, allocations: 11.86 kB / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.7802, allocations: 15.98 kB / 0.9825 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.7803, allocations: 67.78 kB / 0.9826 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.7805, allocations: 23.97 kB / 0.9826 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.396e-05/0.7806, allocations: 19.92 kB / 0.9827 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.813e-05/0.7807, allocations: 19.86 kB / 0.9827 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.7807, allocations: 4 kB / 0.9827 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.7807, allocations: 0 / 0.9827 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.7807, allocations: 15.92 kB / 0.9827 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.7808, allocations: 33.64 kB / 0.9827 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.277e-05/0.7809, allocations: 55.86 kB / 0.9828 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.7809, allocations: 4 kB / 0.9828 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7809, allocations: 0 / 0.9828 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.7809, allocations: 0 / 0.9828 GB, free: 4.57 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.0005188/0.7814, allocations: 389.2 kB / 0.9831 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.7815, allocations: 12.03 kB / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.7815, allocations: 34.56 kB / 0.9832 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.7816, allocations: 11.91 kB / 0.9832 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.7818, allocations: 194.9 kB / 0.9834 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.7818, allocations: 7.938 kB / 0.9834 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.7818, allocations: 4 kB / 0.9834 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.782, allocations: 73.56 kB / 0.9835 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.782, allocations: 0 / 0.9835 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.782, allocations: 0 / 0.9835 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.782, allocations: 0 / 0.9835 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.7821, allocations: 39.98 kB / 0.9835 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.7826, allocations: 328.6 kB / 0.9838 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.7828, allocations: 50.66 kB / 0.9839 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.7828, allocations: 28.94 kB / 0.9839 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.7829, allocations: 0 / 0.9839 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.7829, allocations: 34.56 kB / 0.9839 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.7829, allocations: 0 / 0.9839 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002451/0.7831, allocations: 77.66 kB / 0.984 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.7832, allocations: 51.41 kB / 0.9841 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.7833, allocations: 135.5 kB / 0.9842 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.7833, allocations: 37.69 kB / 0.9842 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.7834, allocations: 96.14 kB / 0.9843 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.7834, allocations: 3.906 kB / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.7834, allocations: 0 / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.7835, allocations: 322.8 kB / 0.9846 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.7836, allocations: 23.92 kB / 0.9846 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.7836, allocations: 12 kB / 0.9847 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.203e-05/0.7837, allocations: 23.98 kB / 0.9847 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7837, allocations: 0 / 0.9847 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000143/0.7838, allocations: 69.58 kB / 0.9847 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.7839, allocations: 5.406 kB / 0.9848 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7839, allocations: 4 kB / 0.9848 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.7839, allocations: 0 / 0.9848 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.784, allocations: 4 kB / 0.9848 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.784, allocations: 4 kB / 0.9848 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.574e-05/0.7841, allocations: 19.92 kB / 0.9848 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.7841, allocations: 4 kB / 0.9848 GB, free: 2.285 MB / 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: 3 (gre.y,$PRE.greHys.greHys.y,greHys.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.171e-05/0.7842, allocations: 121.7 kB / 0.9849 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.7842, allocations: 3.906 kB / 0.9849 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.7842, allocations: 16.23 kB / 0.9849 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.7842, allocations: 0 / 0.9849 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7842, allocations: 0 / 0.9849 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.7843, allocations: 7.938 kB / 0.9849 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.7844, allocations: 189.5 kB / 0.9851 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7844, allocations: 0 / 0.9851 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.7845, allocations: 4 kB / 0.9851 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.7845, allocations: 3.984 kB / 0.9851 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.7845, allocations: 0 / 0.9851 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7845, allocations: 0 / 0.9851 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7845, allocations: 0 / 0.9851 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.7847, allocations: 163.4 kB / 0.9853 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.7848, allocations: 88.97 kB / 0.9854 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.7848, allocations: 4 kB / 0.9854 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.7849, allocations: 11.98 kB / 0.9854 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.785, allocations: 11.92 kB / 0.9854 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.785, allocations: 0 / 0.9854 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.284e-05/0.785, allocations: 113.1 kB / 0.9855 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.785, allocations: 0 / 0.9855 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002237/0.7853, allocations: 8 kB / 0.9855 GB, free: 1.461 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * 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.0004769/0.7858, allocations: 0.701 MB / 0.9862 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.7859, allocations: 43.95 kB / 0.9862 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.7859, allocations: 0 / 0.9862 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.786, allocations: 15.98 kB / 0.9862 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.7863, allocations: 8.984 kB / 0.9863 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008584/0.7871, allocations: 0.547 MB / 0.9868 GB, free: 72 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.7874, allocations: 0.6887 MB / 0.9875 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.323e-05/0.7875, allocations: 12.11 kB / 0.9875 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.7875, allocations: 23.44 kB / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.7875, allocations: 0 / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.7999, allocations: 1.731 MB / 0.9892 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/0.8003, allocations: 209 kB / 0.9894 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.675, allocations: 3.938 kB / 0.9894 GB, free: 13.54 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.mat does not exist to compare? outputFormat=mat