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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.001055/0.001055, allocations: 176.9 kB / 492.3 MB, free: 0.6055 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.516/1.516, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0008927/0.0008926, allocations: 102.7 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.032e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2912, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.355, allocations: 149 MB / 1.358 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/1.356, allocations: 66.69 kB / 1.358 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003953/1.36, allocations: 0.953 MB / 1.359 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.406e-06/1.36, allocations: 0 / 1.359 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.887e-06/1.36, allocations: 0 / 1.359 GB, free: 34.55 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.0004329/1.36, allocations: 346.7 kB / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/1.36, allocations: 15.31 kB / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/1.36, allocations: 3.906 kB / 1.359 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/1.36, allocations: 174.8 kB / 1.359 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/1.361, allocations: 3.312 kB / 1.359 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/1.361, allocations: 3.812 kB / 1.359 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/1.361, allocations: 50.72 kB / 1.359 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.361, allocations: 0.6562 kB / 1.359 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/1.361, allocations: 3.375 kB / 1.359 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/1.361, allocations: 9.094 kB / 1.36 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.669e-05/1.361, allocations: 20.52 kB / 1.36 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/1.361, allocations: 296.8 kB / 1.36 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/1.361, allocations: 51.91 kB / 1.36 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.053e-05/1.362, allocations: 17.27 kB / 1.36 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/1.362, allocations: 0 / 1.36 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/1.362, allocations: 34 kB / 1.36 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/1.362, allocations: 4 kB / 1.36 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001998/1.362, allocations: 56.19 kB / 1.36 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/1.362, allocations: 52.11 kB / 1.36 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/1.362, allocations: 106.2 kB / 1.36 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/1.362, allocations: 29.58 kB / 1.36 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/1.362, allocations: 89.23 kB / 1.36 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/1.362, allocations: 8.25 kB / 1.36 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-06/1.362, allocations: 0 / 1.36 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/1.362, allocations: 320 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/1.362, allocations: 18.81 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.41e-05/1.362, allocations: 12.45 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/1.362, allocations: 12.36 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.362, allocations: 0.75 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.788e-05/1.362, allocations: 56.75 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.362, allocations: 3.781 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/1.362, allocations: 0 / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/1.362, allocations: 0.7031 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/1.363, allocations: 19.28 kB / 1.361 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.363, allocations: 0.7031 kB / 1.361 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.079e-05/1.363, allocations: 14.45 kB / 1.361 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/1.363, allocations: 7.812 kB / 1.361 GB, free: 32.93 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.358e-05/1.363, allocations: 113.4 kB / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/1.363, allocations: 0 / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/1.363, allocations: 13.08 kB / 1.361 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.363, allocations: 0 / 1.361 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.363, allocations: 6.812 kB / 1.361 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.363, allocations: 0.6562 kB / 1.361 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/1.363, allocations: 181 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.363, allocations: 0.75 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.875e-05/1.363, allocations: 11.34 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/1.363, allocations: 4.516 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/1.363, allocations: 0.7031 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.363, allocations: 3.938 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.363, allocations: 0.7812 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/1.363, allocations: 161.8 kB / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.488e-05/1.363, allocations: 81.2 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/1.363, allocations: 4.625 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/1.363, allocations: 10.66 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/1.364, allocations: 14.95 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/1.364, allocations: 0.75 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.632e-05/1.364, allocations: 96.06 kB / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.364, allocations: 0 / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002084/1.364, allocations: 11.69 kB / 1.361 GB, free: 32.29 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.0001435/1.364, allocations: 102 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001041/1.364, allocations: 31.3 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.364, allocations: 0 / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.081e-05/1.364, allocations: 20.69 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/1.364, allocations: 14.28 kB / 1.362 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/1.365, allocations: 78.25 kB / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/1.365, allocations: 0.6868 MB / 1.362 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.836e-05/1.365, allocations: 4.5 kB / 1.362 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/1.365, allocations: 13.14 kB / 1.362 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of SimCode: time 2.9e-07/1.365, allocations: 4 kB / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of Templates: time 0.002868/1.368, allocations: 0.7448 MB / 1.363 GB, free: 31.35 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches