Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001636/0.001636, allocations: 172.5 kB / 492.3 MB, free: 0.5977 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.924/1.924, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001035/0.001035, allocations: 90.53 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.797e-05, allocations: 4 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4287, allocations: 142.4 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.338/1.767, allocations: 149.2 MB / 1.358 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/1.767, allocations: 88.94 kB / 1.358 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002749/1.77, allocations: 0.6302 MB / 1.359 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.793e-06/1.77, allocations: 0 / 1.359 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.117e-06/1.77, allocations: 0 / 1.359 GB, free: 34.62 MB / 0.8386 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.0003646/1.771, allocations: 343.7 kB / 1.359 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/1.771, allocations: 11.5 kB / 1.359 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/1.771, allocations: 31.08 kB / 1.359 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/1.771, allocations: 5.203 kB / 1.359 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/1.771, allocations: 173.9 kB / 1.359 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/1.771, allocations: 3.922 kB / 1.359 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/1.771, allocations: 0 / 1.359 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/1.771, allocations: 43.78 kB / 1.36 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/1.771, allocations: 4 kB / 1.36 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/1.771, allocations: 0 / 1.36 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.771, allocations: 0 / 1.36 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.267e-05/1.771, allocations: 11.2 kB / 1.36 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/1.772, allocations: 261.9 kB / 1.36 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.781e-05/1.772, allocations: 30.91 kB / 1.36 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/1.772, allocations: 12.17 kB / 1.36 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/1.772, allocations: 3.938 kB / 1.36 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/1.772, allocations: 31.12 kB / 1.36 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/1.772, allocations: 0 / 1.36 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000178/1.772, allocations: 45.27 kB / 1.36 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/1.772, allocations: 51.41 kB / 1.36 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/1.772, allocations: 98.41 kB / 1.36 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/1.772, allocations: 25.7 kB / 1.36 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/1.772, allocations: 84.5 kB / 1.36 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/1.772, allocations: 8.484 kB / 1.36 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/1.772, allocations: 0 / 1.36 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.772, allocations: 318.7 kB / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/1.772, allocations: 3.875 kB / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.242e-05/1.772, allocations: 9.344 kB / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.009e-05/1.772, allocations: 8.609 kB / 1.36 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.772, allocations: 0 / 1.36 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.568e-05/1.772, allocations: 42.45 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.773, allocations: 5.891 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.773, allocations: 0 / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.773, allocations: 4.391 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/1.773, allocations: 8.484 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.773, allocations: 4.547 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/1.773, allocations: 10.34 kB / 1.361 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/1.773, allocations: 4.484 kB / 1.361 GB, free: 32.97 MB / 0.8386 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 () * 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 8.049e-05/1.773, allocations: 104.9 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/1.773, allocations: 7.953 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/1.773, allocations: 7.453 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.773, allocations: 1.422 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.773, allocations: 0 / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.773, allocations: 0 / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/1.773, allocations: 163.1 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.773, allocations: 0 / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-05/1.773, allocations: 14.69 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/1.773, allocations: 0 / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/1.773, allocations: 7.125 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.773, allocations: 0.75 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.773, allocations: 0 / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/1.773, allocations: 140.6 kB / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/1.773, allocations: 81.84 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/1.773, allocations: 2.312 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.265e-05/1.774, allocations: 18.25 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/1.774, allocations: 1.594 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/1.774, allocations: 0 / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.15e-05/1.774, allocations: 87.14 kB / 1.361 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.774, allocations: 0 / 1.361 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002332/1.774, allocations: 7.812 kB / 1.361 GB, free: 32.34 MB / 0.8386 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 () * 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.000454/1.774, allocations: 0.6837 MB / 1.362 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.794e-05/1.775, allocations: 12.03 kB / 1.362 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.775, allocations: 96 / 1.362 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.59e-05/1.775, allocations: 11.16 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/1.775, allocations: 9.281 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/1.775, allocations: 86.3 kB / 1.362 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/1.776, allocations: 0.6772 MB / 1.363 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.135e-05/1.776, allocations: 4.422 kB / 1.363 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/1.776, allocations: 12.02 kB / 1.363 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.776, allocations: 64 / 1.363 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/1.79, allocations: 1.077 MB / 1.364 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/1.791, allocations: 188.2 kB / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/3.485, allocations: 1.125 kB / 1.364 GB, free: 30.5 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat does not exist to compare? outputFormat=mat