Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.22/2.22, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001094/0.001094, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.803/1.803, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008857/0.0008858, allocations: 95.84 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.277e-05/2.279e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3037, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9993/1.303, allocations: 148.3 MB / 1.351 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/1.303, allocations: 70.25 kB / 1.351 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003757/1.307, allocations: 0.9433 MB / 1.352 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.354e-06/1.307, allocations: 0 / 1.352 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.307, allocations: 0 / 1.352 GB, free: 33.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004924/1.308, allocations: 348.5 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.775e-05/1.308, allocations: 12.88 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/1.308, allocations: 11.55 kB / 1.352 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/1.308, allocations: 179.7 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/1.308, allocations: 1.281 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/1.308, allocations: 1.312 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.491e-05/1.308, allocations: 22.91 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.927e-05/1.308, allocations: 50.64 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/1.308, allocations: 1.594 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/1.308, allocations: 3.062 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.308, allocations: 1.312 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/1.309, allocations: 266.9 kB / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.468e-05/1.309, allocations: 45.25 kB / 1.353 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/1.309, allocations: 17.33 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/1.309, allocations: 0 / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/1.309, allocations: 34.75 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/1.309, allocations: 0 / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001794/1.309, allocations: 58.14 kB / 1.353 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/1.309, allocations: 55.34 kB / 1.353 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/1.309, allocations: 102.8 kB / 1.353 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/1.309, allocations: 25.7 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/1.309, allocations: 90.53 kB / 1.353 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/1.309, allocations: 10.11 kB / 1.353 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/1.309, allocations: 0 / 1.353 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.31, allocations: 317.3 kB / 1.353 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/1.31, allocations: 14.53 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/1.31, allocations: 13.66 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.996e-05/1.31, allocations: 9.781 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.31, allocations: 1.344 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.848e-05/1.31, allocations: 52.72 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.31, allocations: 7.156 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/1.31, allocations: 0 / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/1.31, allocations: 192 / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/1.31, allocations: 13.66 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/1.31, allocations: 9.281 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/1.31, allocations: 14.34 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/1.31, allocations: 5.297 kB / 1.354 GB, free: 32.23 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: 2 (intLesThr.u,intLesThr.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 6.948e-05/1.31, allocations: 112 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.835e-05/1.31, allocations: 59.39 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/1.31, allocations: 3.844 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/1.31, allocations: 4.344 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/1.31, allocations: 0 / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.31, allocations: 6.688 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.31, allocations: 3.938 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/1.31, allocations: 159.7 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.31, allocations: 3.844 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.088e-05/1.311, allocations: 11.83 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.311, allocations: 0.6562 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/1.311, allocations: 9.672 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.311, allocations: 0 / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.311, allocations: 3.938 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/1.311, allocations: 160.4 kB / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/1.311, allocations: 77.67 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/1.311, allocations: 0.7031 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/1.311, allocations: 11.11 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/1.311, allocations: 10.44 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/1.311, allocations: 0.8906 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.728e-05/1.311, allocations: 91.59 kB / 1.354 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.311, allocations: 0 / 1.354 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000223/1.311, allocations: 16.38 kB / 1.354 GB, free: 31.57 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: 2 (intLesThr.u,intLesThr.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.0004243/1.312, allocations: 0.6886 MB / 1.355 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001075/1.312, allocations: 31.81 kB / 1.355 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.312, allocations: 4 kB / 1.355 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.055e-05/1.312, allocations: 17.03 kB / 1.355 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/1.312, allocations: 2.797 kB / 1.355 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/1.313, allocations: 118.9 kB / 1.355 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/1.313, allocations: 0.6827 MB / 1.356 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.81e-05/1.313, allocations: 8.5 kB / 1.356 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/1.313, allocations: 18.98 kB / 1.356 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.313, allocations: 0 / 1.356 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/1.333, allocations: 1.183 MB / 1.357 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/1.333, allocations: 156 kB / 1.357 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/2.797, allocations: 0.625 kB / 1.357 GB, free: 29.82 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat does not exist to compare? outputFormat=mat