Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.472/2.472, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001312/0.001312, allocations: 188.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009498/0.0009499, allocations: 87.89 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.123e-05/4.143e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2699, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8622/1.132, allocations: 149.8 MB / 1.365 GB, free: 4.223 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/1.133, allocations: 69.64 kB / 1.365 GB, free: 4.184 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003851/1.136, allocations: 0.947 MB / 1.366 GB, free: 3.332 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.304e-06/1.136, allocations: 0 / 1.366 GB, free: 3.332 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.527e-05/1.136, allocations: 0 / 1.366 GB, free: 3.332 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005769/1.137, allocations: 349.5 kB / 1.366 GB, free: 2.953 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/1.137, allocations: 12.03 kB / 1.367 GB, free: 2.941 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.093e-05/1.137, allocations: 37.48 kB / 1.367 GB, free: 2.898 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/1.137, allocations: 7.906 kB / 1.367 GB, free: 2.891 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/1.137, allocations: 167 kB / 1.367 GB, free: 2.688 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/1.138, allocations: 7.438 kB / 1.367 GB, free: 2.684 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/1.138, allocations: 0 / 1.367 GB, free: 2.684 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/1.138, allocations: 59.36 kB / 1.367 GB, free: 2.629 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.138, allocations: 0 / 1.367 GB, free: 2.629 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/1.138, allocations: 4 kB / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/1.138, allocations: 0 / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/1.138, allocations: 22.62 kB / 1.367 GB, free: 2.609 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/1.139, allocations: 293 kB / 1.367 GB, free: 2.293 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/1.139, allocations: 51.81 kB / 1.367 GB, free: 2.242 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.623e-05/1.139, allocations: 18.58 kB / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/1.139, allocations: 3.938 kB / 1.367 GB, free: 2.223 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/1.139, allocations: 37.94 kB / 1.367 GB, free: 2.18 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/1.139, allocations: 0 / 1.367 GB, free: 2.18 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002577/1.139, allocations: 64.02 kB / 1.367 GB, free: 2.117 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/1.139, allocations: 51.41 kB / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/1.139, allocations: 104.1 kB / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/1.139, allocations: 29.64 kB / 1.367 GB, free: 1.918 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/1.139, allocations: 91.22 kB / 1.368 GB, free: 1.828 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/1.14, allocations: 7.906 kB / 1.368 GB, free: 1.82 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/1.14, allocations: 0 / 1.368 GB, free: 1.82 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.14, allocations: 314.3 kB / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/1.14, allocations: 15.31 kB / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.23e-05/1.14, allocations: 19.08 kB / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/1.14, allocations: 7.75 kB / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.14, allocations: 0 / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001537/1.14, allocations: 58.62 kB / 1.368 GB, free: 1.422 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.14, allocations: 4 kB / 1.368 GB, free: 1.418 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/1.14, allocations: 0 / 1.368 GB, free: 1.418 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.14, allocations: 0 / 1.368 GB, free: 1.418 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/1.14, allocations: 15.98 kB / 1.368 GB, free: 1.402 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/1.14, allocations: 7.953 kB / 1.368 GB, free: 1.395 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/1.14, allocations: 15.92 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/1.14, allocations: 0 / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete 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 0.0001119/1.141, allocations: 112.8 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/1.141, allocations: 7.156 kB / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/1.141, allocations: 11.95 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.141, allocations: 7.938 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.141, allocations: 0 / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.141, allocations: 7.953 kB / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/1.141, allocations: 168.5 kB / 1.368 GB, free: 1.027 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.141, allocations: 0 / 1.368 GB, free: 1.027 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/1.141, allocations: 15.98 kB / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/1.141, allocations: 0 / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/1.141, allocations: 0 / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.141, allocations: 0 / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.141, allocations: 0 / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/1.141, allocations: 162.2 kB / 1.368 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/1.141, allocations: 89 kB / 1.369 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/1.142, allocations: 3.75 kB / 1.369 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/1.142, allocations: 8 kB / 1.369 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/1.142, allocations: 11.97 kB / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/1.142, allocations: 3.375 kB / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.939e-05/1.142, allocations: 88.08 kB / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.1e-07/1.142, allocations: 0 / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004028/1.142, allocations: 19.81 kB / 1.369 GB, free: 0.6211 MB / 0.823 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 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006616/1.143, allocations: 0.6887 MB / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001572/1.143, allocations: 37.67 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.143, allocations: 0 / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.665e-05/1.143, allocations: 15.02 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/1.144, allocations: 11.56 kB / 1.369 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/1.144, allocations: 121.1 kB / 1.369 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/1.144, allocations: 0.6848 MB / 1.37 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.333e-05/1.145, allocations: 12.03 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/1.145, allocations: 22.3 kB / 1.37 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of SimCode: time 8.22e-07/1.145, allocations: 0 / 1.37 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/1.16, allocations: 1.517 MB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/1.161, allocations: 180.5 kB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.696, allocations: 0 / 1.372 GB, free: 13.42 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat does not exist to compare? outputFormat=mat