Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.269/2.269, allocations: 390.5 MB / 398 MB, free: 10.93 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.001498/0.001498, allocations: 192.8 kB / 491.2 MB, free: 1.523 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.553/1.553, allocations: 221.5 MB / 0.7868 GB, free: 13.23 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.0009951/0.0009951, allocations: 85.41 kB / 0.9269 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.27e-05/2.279e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3195, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.098/1.418, allocations: 149.2 MB / 1.358 GB, free: 17.72 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/1.418, allocations: 66.55 kB / 1.358 GB, free: 17.72 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004975/1.423, allocations: 1.43 MB / 1.359 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.034e-06/1.423, allocations: 0 / 1.359 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.518e-06/1.423, allocations: 3.875 kB / 1.359 GB, free: 33.34 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000545/1.423, allocations: 380.2 kB / 1.36 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/1.424, allocations: 11.5 kB / 1.36 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/1.424, allocations: 7.75 kB / 1.36 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/1.424, allocations: 183.8 kB / 1.36 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/1.424, allocations: 3.844 kB / 1.36 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/1.424, allocations: 3.875 kB / 1.36 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001425/1.424, allocations: 43.22 kB / 1.36 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/1.424, allocations: 74.31 kB / 1.36 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.424, allocations: 0 / 1.36 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/1.424, allocations: 0 / 1.36 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.424, allocations: 4 kB / 1.36 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/1.425, allocations: 313.6 kB / 1.36 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/1.425, allocations: 88.59 kB / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/1.425, allocations: 37.12 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/1.425, allocations: 7.594 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/1.425, allocations: 35.77 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.744e-06/1.425, allocations: 0 / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002186/1.425, allocations: 91.5 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/1.425, allocations: 51.41 kB / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/1.426, allocations: 106.3 kB / 1.361 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/1.426, allocations: 33.48 kB / 1.361 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/1.426, allocations: 92.77 kB / 1.361 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/1.426, allocations: 20.05 kB / 1.361 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/1.426, allocations: 0 / 1.361 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.426, allocations: 317.1 kB / 1.361 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/1.426, allocations: 18.94 kB / 1.361 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/1.426, allocations: 19.55 kB / 1.361 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.433e-05/1.426, allocations: 24.66 kB / 1.361 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.426, allocations: 0 / 1.361 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001309/1.426, allocations: 95.62 kB / 1.361 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.426, allocations: 9.531 kB / 1.361 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.426, allocations: 0 / 1.361 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.426, allocations: 0 / 1.361 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/1.426, allocations: 28.62 kB / 1.362 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/1.426, allocations: 4.266 kB / 1.362 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/1.426, allocations: 23.86 kB / 1.362 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/1.426, allocations: 5.703 kB / 1.362 GB, free: 31.71 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: 3 (min1.u1,min1.u2,min1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001248/1.427, allocations: 108.8 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/1.427, allocations: 3.906 kB / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/1.427, allocations: 101.4 kB / 1.362 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/1.427, allocations: 0 / 1.362 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/1.427, allocations: 3.906 kB / 1.362 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/1.427, allocations: 3.953 kB / 1.362 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/1.427, allocations: 179 kB / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.427, allocations: 0 / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/1.427, allocations: 28.39 kB / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.427, allocations: 0 / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/1.427, allocations: 5.094 kB / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.427, allocations: 1.5 kB / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.427, allocations: 0 / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/1.428, allocations: 192 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/1.428, allocations: 81.02 kB / 1.362 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/1.428, allocations: 0 / 1.362 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/1.428, allocations: 17.3 kB / 1.362 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/1.428, allocations: 22.25 kB / 1.362 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/1.428, allocations: 5.531 kB / 1.362 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.138e-05/1.428, allocations: 91.91 kB / 1.362 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.428, allocations: 0 / 1.362 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002252/1.428, allocations: 15.44 kB / 1.362 GB, free: 31.07 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: 3 (min1.u1,min1.u2,min1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001757/1.428, allocations: 103.6 kB / 1.362 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001353/1.428, allocations: 59.41 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.428, allocations: 3.5 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.866e-05/1.429, allocations: 29.19 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/1.429, allocations: 16.11 kB / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/1.429, allocations: 108.5 kB / 1.363 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/1.429, allocations: 0.6974 MB / 1.363 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.617e-05/1.43, allocations: 13.62 kB / 1.363 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/1.43, allocations: 17.56 kB / 1.363 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.43, allocations: 0 / 1.363 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of Templates: time 0.0035/1.433, allocations: 1.238 MB / 1.365 GB, free: 30.09 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches