Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.314/2.314, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001112/0.001112, allocations: 180.8 kB / 496.1 MB, free: 12.88 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.875/1.875, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.001054/0.001054, allocations: 88.02 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.411e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3492, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.466, allocations: 149.9 MB / 1.365 GB, free: 4.098 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/1.466, allocations: 64.31 kB / 1.365 GB, free: 4.066 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004673/1.471, allocations: 1.444 MB / 1.367 GB, free: 2.789 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.144e-06/1.471, allocations: 0 / 1.367 GB, free: 2.789 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.087e-05/1.471, allocations: 0 / 1.367 GB, free: 2.789 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.0006017/1.472, allocations: 375.3 kB / 1.367 GB, free: 2.387 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/1.472, allocations: 12.03 kB / 1.367 GB, free: 2.375 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/1.472, allocations: 15.28 kB / 1.367 GB, free: 2.363 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/1.472, allocations: 176.9 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/1.472, allocations: 4 kB / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/1.472, allocations: 7.375 kB / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/1.472, allocations: 74.41 kB / 1.367 GB, free: 2.082 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.472, allocations: 3.938 kB / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/1.472, allocations: 4 kB / 1.367 GB, free: 2.074 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.472, allocations: 0 / 1.367 GB, free: 2.074 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/1.472, allocations: 54.11 kB / 1.367 GB, free: 2.039 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/1.473, allocations: 345.4 kB / 1.368 GB, free: 1.688 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/1.474, allocations: 102.8 kB / 1.368 GB, free: 1.598 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.226e-05/1.474, allocations: 27.36 kB / 1.368 GB, free: 1.578 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/1.474, allocations: 8 kB / 1.368 GB, free: 1.57 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/1.474, allocations: 30.56 kB / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 2.755e-06/1.474, allocations: 0 / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.000255/1.474, allocations: 98.84 kB / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/1.474, allocations: 51.56 kB / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/1.474, allocations: 116.6 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/1.474, allocations: 28.95 kB / 1.368 GB, free: 1.238 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/1.474, allocations: 99.28 kB / 1.368 GB, free: 1.141 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/1.474, allocations: 23.23 kB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/1.474, allocations: 0 / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.474, allocations: 314.6 kB / 1.368 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/1.474, allocations: 23.23 kB / 1.369 GB, free: 0.793 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.546e-05/1.475, allocations: 22.56 kB / 1.369 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/1.475, allocations: 24.08 kB / 1.369 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.475, allocations: 0 / 1.369 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001799/1.475, allocations: 87.16 kB / 1.369 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.475, allocations: 4 kB / 1.369 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.475, allocations: 4 kB / 1.369 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.475, allocations: 7.891 kB / 1.369 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/1.475, allocations: 31.97 kB / 1.369 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/1.475, allocations: 3.984 kB / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/1.475, allocations: 19.8 kB / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/1.475, allocations: 4 kB / 1.369 GB, free: 0.6172 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 (max1.u1,max1.u2,max1.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.503e-05/1.475, allocations: 109.6 kB / 1.369 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/1.475, allocations: 7.906 kB / 1.369 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/1.476, allocations: 108.2 kB / 1.369 GB, free: 412 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/1.476, allocations: 0 / 1.369 GB, free: 412 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.476, allocations: 3.953 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.476, allocations: 0 / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/1.476, allocations: 204.5 kB / 1.369 GB, free: 172 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.476, allocations: 4 kB / 1.369 GB, free: 168 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/1.476, allocations: 27.97 kB / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.476, allocations: 0 / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/1.476, allocations: 4 kB / 1.369 GB, free: 136 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.476, allocations: 0 / 1.369 GB, free: 136 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.476, allocations: 0 / 1.369 GB, free: 136 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/1.476, allocations: 190.7 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/1.476, allocations: 85 kB / 1.369 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/1.476, allocations: 4 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/1.477, allocations: 23.17 kB / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/1.477, allocations: 23.34 kB / 1.369 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/1.477, allocations: 4.812 kB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.176e-05/1.477, allocations: 96.34 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.61e-07/1.477, allocations: 8 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002179/1.477, allocations: 15.75 kB / 1.37 GB, free: 15.7 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 (max1.u1,max1.u2,max1.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.0001612/1.477, allocations: 103.2 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000168/1.477, allocations: 56.67 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.477, allocations: 0 / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.446e-05/1.477, allocations: 41.23 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/1.478, allocations: 7.438 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/1.478, allocations: 110.9 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/1.478, allocations: 0.6965 MB / 1.371 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.863e-05/1.478, allocations: 8.188 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/1.479, allocations: 22.48 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of SimCode: time 3e-07/1.479, allocations: 0 / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of Templates: time 0.003719/1.482, allocations: 1.316 MB / 1.372 GB, free: 13.34 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches