Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.342/2.342, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 190.8 kB / 0.4902 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 223.1 MB / 0.7992 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000945/0.0009448, allocations: 98.39 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003171, allocations: 13.23 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2496, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.4412, allocations: 150.1 MB / 1.376 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.4415, allocations: 87.94 kB / 1.376 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.001767/0.4433, allocations: 0.6319 MB / 1.377 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.276e-06/0.4433, allocations: 0 / 1.377 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.4434, allocations: 0 / 1.377 GB, free: 14.36 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000446/0.4438, allocations: 355.2 kB / 1.377 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4439, allocations: 8.031 kB / 1.377 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.4439, allocations: 34.56 kB / 1.377 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.444, allocations: 4 kB / 1.377 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.4441, allocations: 167 kB / 1.377 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.4441, allocations: 4 kB / 1.377 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.4442, allocations: 0 / 1.377 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.4444, allocations: 53.67 kB / 1.377 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4444, allocations: 3.938 kB / 1.377 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.4444, allocations: 0 / 1.377 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4444, allocations: 4 kB / 1.377 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.4446, allocations: 47.89 kB / 1.377 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.4451, allocations: 268.9 kB / 1.377 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.4452, allocations: 46.59 kB / 1.378 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.4453, allocations: 0 / 1.378 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4453, allocations: 34.5 kB / 1.378 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4453, allocations: 4 kB / 1.378 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0003718/0.4457, allocations: 93.61 kB / 1.378 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.4457, allocations: 63.53 kB / 1.378 GB, free: 13 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.4458, allocations: 92.95 kB / 1.378 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.4458, allocations: 25.7 kB / 1.378 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.4459, allocations: 84.14 kB / 1.378 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.4459, allocations: 7.984 kB / 1.378 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.4459, allocations: 0 / 1.378 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.446, allocations: 310.8 kB / 1.378 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.4461, allocations: 23.98 kB / 1.378 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.4462, allocations: 23.98 kB / 1.378 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.007e-05/0.4463, allocations: 27.91 kB / 1.378 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.4463, allocations: 0 / 1.378 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001952/0.4465, allocations: 77.64 kB / 1.378 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.4465, allocations: 4 kB / 1.378 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4466, allocations: 0 / 1.378 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4466, allocations: 256 / 1.378 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.4467, allocations: 16.02 kB / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.4467, allocations: 4 kB / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.848e-05/0.4468, allocations: 11.98 kB / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.4468, allocations: 7.938 kB / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.062e-05/0.4469, allocations: 114.6 kB / 1.379 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.4469, allocations: 0 / 1.379 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.4469, allocations: 7.062 kB / 1.379 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.4469, allocations: 4 kB / 1.379 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.447, allocations: 0 / 1.379 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.447, allocations: 0 / 1.379 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.4471, allocations: 165.6 kB / 1.379 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4472, allocations: 3.984 kB / 1.379 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.4472, allocations: 15.92 kB / 1.379 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4472, allocations: 0 / 1.379 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4473, allocations: 0 / 1.379 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4473, allocations: 0 / 1.379 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4473, allocations: 0 / 1.379 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.4475, allocations: 175.5 kB / 1.379 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.4476, allocations: 85.02 kB / 1.379 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.4476, allocations: 0 / 1.379 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.4477, allocations: 19.95 kB / 1.379 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.4477, allocations: 4 kB / 1.379 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.4477, allocations: 0 / 1.379 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.4478, allocations: 83.27 kB / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4478, allocations: 0 / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002116/0.448, allocations: 4 kB / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005768/0.4486, allocations: 0.7085 MB / 1.38 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.4488, allocations: 48 kB / 1.38 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4488, allocations: 0 / 1.38 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.163e-05/0.4489, allocations: 24.05 kB / 1.38 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.4492, allocations: 8.047 kB / 1.38 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.4496, allocations: 146.2 kB / 1.38 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.4499, allocations: 0.6809 MB / 1.381 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.774e-05/0.4499, allocations: 0 / 1.381 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.4499, allocations: 15.44 kB / 1.381 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of SimCode: time 5.51e-07/0.4499, allocations: 4 kB / 1.381 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.4627, allocations: 1.073 MB / 1.382 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/0.4631, allocations: 210.9 kB / 1.382 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.057, allocations: 0 / 1.382 GB, free: 8.652 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat does not exist to compare? outputFormat=mat