Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001083/0.001084, allocations: 184.6 kB / 487.4 MB, free: 5.062 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.659/1.659, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 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.0009717/0.0009715, allocations: 91.84 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.36e-05/2.363e-05, allocations: 5.625 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3099, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.319, allocations: 148.3 MB / 1.351 GB, free: 18.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/1.319, allocations: 69.67 kB / 1.351 GB, free: 18.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003327/1.322, allocations: 0.931 MB / 1.352 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.412e-06/1.322, allocations: 0 / 1.352 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.322, allocations: 5.25 kB / 1.352 GB, free: 34.21 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.0003701/1.323, allocations: 354 kB / 1.352 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.323, allocations: 9.156 kB / 1.352 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/1.323, allocations: 10.45 kB / 1.352 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/1.323, allocations: 167.1 kB / 1.352 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/1.323, allocations: 1.312 kB / 1.352 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/1.323, allocations: 2.625 kB / 1.352 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.671e-05/1.323, allocations: 25.94 kB / 1.352 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/1.323, allocations: 52.12 kB / 1.353 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.323, allocations: 0 / 1.353 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/1.323, allocations: 1.422 kB / 1.353 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.323, allocations: 1.281 kB / 1.353 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/1.323, allocations: 267.7 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.057e-05/1.324, allocations: 48.73 kB / 1.353 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/1.324, allocations: 21.3 kB / 1.353 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/1.324, allocations: 4.281 kB / 1.353 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/1.324, allocations: 32.44 kB / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.324, allocations: 0 / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001683/1.324, allocations: 59.52 kB / 1.353 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/1.324, allocations: 51.41 kB / 1.353 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/1.324, allocations: 103.2 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/1.324, allocations: 29.64 kB / 1.353 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/1.324, allocations: 89.28 kB / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/1.324, allocations: 8.594 kB / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/1.324, allocations: 0 / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.324, allocations: 320.1 kB / 1.353 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/1.324, allocations: 11.97 kB / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/1.324, allocations: 7.812 kB / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.731e-05/1.324, allocations: 16.19 kB / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/1.324, allocations: 0 / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.627e-05/1.324, allocations: 58.33 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/1.324, allocations: 7.719 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/1.324, allocations: 0 / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/1.324, allocations: 0.6562 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/1.325, allocations: 11.2 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/1.325, allocations: 4.766 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.683e-05/1.325, allocations: 15.92 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/1.325, allocations: 4.609 kB / 1.354 GB, free: 32.62 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 (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 7.09e-05/1.325, allocations: 112.7 kB / 1.354 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.247e-05/1.325, allocations: 57.12 kB / 1.354 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/1.325, allocations: 0.7031 kB / 1.354 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/1.325, allocations: 5 kB / 1.354 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.325, allocations: 4.109 kB / 1.354 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.325, allocations: 0.7031 kB / 1.354 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.325, allocations: 3.984 kB / 1.354 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/1.325, allocations: 158.4 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.325, allocations: 3.938 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.202e-05/1.325, allocations: 18.64 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.325, allocations: 0 / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/1.325, allocations: 4.391 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.325, allocations: 4.25 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.325, allocations: 0.6562 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/1.325, allocations: 155.4 kB / 1.354 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/1.325, allocations: 81.62 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/1.325, allocations: 0.5625 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/1.325, allocations: 10.5 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/1.326, allocations: 15.3 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/1.326, allocations: 0.6562 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.857e-05/1.326, allocations: 88.02 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.326, allocations: 0 / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002229/1.326, allocations: 19.91 kB / 1.354 GB, free: 31.96 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 (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.0003893/1.326, allocations: 0.6939 MB / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.916e-05/1.326, allocations: 31.72 kB / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.326, allocations: 0 / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/1.326, allocations: 20.42 kB / 1.355 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/1.327, allocations: 5.594 kB / 1.355 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/1.327, allocations: 107.8 kB / 1.355 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/1.327, allocations: 0.6869 MB / 1.356 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.817e-05/1.327, allocations: 4.531 kB / 1.356 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/1.327, allocations: 20.12 kB / 1.356 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.327, allocations: 0 / 1.356 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/1.351, allocations: 1.193 MB / 1.357 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/1.351, allocations: 159.3 kB / 1.357 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/2.838, allocations: 3.938 kB / 1.357 GB, free: 30.21 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat does not exist to compare? outputFormat=mat