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.3 MB / 402.8 MB, free: 6.715 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.0009897/0.0009897, allocations: 180.9 kB / 496.1 MB, free: 12.87 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.482/1.482, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.001061/0.001061, allocations: 87.97 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.784e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3376, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/1.468, allocations: 149.9 MB / 1.365 GB, free: 4.191 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.468, allocations: 69.3 kB / 1.365 GB, free: 4.156 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004546/1.473, allocations: 1.444 MB / 1.367 GB, free: 2.879 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.563e-06/1.473, allocations: 0 / 1.367 GB, free: 2.879 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.473, allocations: 4 kB / 1.367 GB, free: 2.875 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005556/1.474, allocations: 377.7 kB / 1.367 GB, free: 2.469 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.474, allocations: 15.97 kB / 1.367 GB, free: 2.453 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/1.474, allocations: 11.91 kB / 1.367 GB, free: 2.441 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/1.474, allocations: 171 kB / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/1.474, allocations: 8 kB / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/1.474, allocations: 7.422 kB / 1.367 GB, free: 2.223 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/1.474, allocations: 78.72 kB / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/1.474, allocations: 3.938 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/1.474, allocations: 4 kB / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.474, allocations: 0 / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/1.474, allocations: 47.19 kB / 1.367 GB, free: 2.117 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/1.475, allocations: 350.5 kB / 1.368 GB, free: 1.762 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/1.475, allocations: 92.59 kB / 1.368 GB, free: 1.68 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.935e-05/1.475, allocations: 31.28 kB / 1.368 GB, free: 1.656 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/1.476, allocations: 4 kB / 1.368 GB, free: 1.652 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/1.476, allocations: 38.12 kB / 1.368 GB, free: 1.609 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/1.476, allocations: 0 / 1.368 GB, free: 1.609 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.000258/1.476, allocations: 96.55 kB / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/1.476, allocations: 55.34 kB / 1.368 GB, free: 1.457 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/1.476, allocations: 115.8 kB / 1.368 GB, free: 1.344 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/1.476, allocations: 29.2 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/1.476, allocations: 91.92 kB / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/1.476, allocations: 23.42 kB / 1.368 GB, free: 1.203 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/1.476, allocations: 4 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.476, allocations: 314.5 kB / 1.368 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/1.476, allocations: 18.69 kB / 1.369 GB, free: 0.875 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-05/1.476, allocations: 23.3 kB / 1.369 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.237e-05/1.476, allocations: 18.88 kB / 1.369 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.476, allocations: 0 / 1.369 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001613/1.477, allocations: 90.27 kB / 1.369 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.477, allocations: 4 kB / 1.369 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.477, allocations: 0 / 1.369 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.477, allocations: 7.891 kB / 1.369 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/1.477, allocations: 39.41 kB / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.477, allocations: 0 / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/1.477, allocations: 19.97 kB / 1.369 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/1.477, allocations: 0 / 1.369 GB, free: 0.7031 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: 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 8.153e-05/1.477, allocations: 112.4 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/1.477, allocations: 11.84 kB / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/1.477, allocations: 106.4 kB / 1.369 GB, free: 496 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/1.477, allocations: 0 / 1.369 GB, free: 496 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.477, allocations: 3.953 kB / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.477, allocations: 0 / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/1.478, allocations: 206 kB / 1.369 GB, free: 252 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.478, allocations: 0 / 1.369 GB, free: 252 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/1.478, allocations: 31.97 kB / 1.369 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.478, allocations: 0 / 1.369 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/1.478, allocations: 7.125 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/1.478, allocations: 0 / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/1.478, allocations: 0 / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/1.478, allocations: 190.7 kB / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/1.478, allocations: 81.02 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/1.478, allocations: 4 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/1.478, allocations: 31.09 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/1.478, allocations: 21.16 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/1.478, allocations: 4 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.423e-05/1.479, allocations: 93.86 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.479, allocations: 0 / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002125/1.479, allocations: 19.98 kB / 1.37 GB, free: 15.77 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.0001528/1.479, allocations: 110.9 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001637/1.479, allocations: 50.42 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.479, allocations: 3.938 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.628e-05/1.479, allocations: 42.67 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/1.479, allocations: 7.906 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/1.48, allocations: 110 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/1.48, allocations: 0.7004 MB / 1.371 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.621e-05/1.48, allocations: 8.188 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/1.48, allocations: 19.42 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.48, allocations: 0 / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of Templates: time 0.00361/1.484, allocations: 1.302 MB / 1.372 GB, free: 13.43 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