Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.172/2.172, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001141/0.001141, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.744/1.744, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.0009898/0.0009902, allocations: 99.03 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.167e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.242, allocations: 142.3 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9447/1.187, allocations: 148.4 MB / 1.351 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/1.187, allocations: 69.77 kB / 1.351 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005049/1.192, allocations: 1.427 MB / 1.352 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.186e-06/1.192, allocations: 1.312 kB / 1.352 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.577e-06/1.192, allocations: 1.281 kB / 1.352 GB, free: 33.98 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.0005459/1.193, allocations: 382.2 kB / 1.353 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.193, allocations: 9.812 kB / 1.353 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/1.193, allocations: 8.641 kB / 1.353 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/1.193, allocations: 180.7 kB / 1.353 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/1.193, allocations: 2.625 kB / 1.353 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/1.193, allocations: 8.672 kB / 1.353 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001125/1.193, allocations: 45.83 kB / 1.353 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/1.193, allocations: 74.81 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/1.193, allocations: 0.5625 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/1.193, allocations: 0.7969 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/1.193, allocations: 3.875 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/1.194, allocations: 311.1 kB / 1.353 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/1.194, allocations: 91.53 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/1.194, allocations: 28.16 kB / 1.353 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/1.194, allocations: 8.312 kB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.043e-05/1.194, allocations: 34.41 kB / 1.353 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/1.194, allocations: 4 kB / 1.353 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001946/1.194, allocations: 84.59 kB / 1.354 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/1.194, allocations: 51.41 kB / 1.354 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/1.195, allocations: 111.1 kB / 1.354 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/1.195, allocations: 25.7 kB / 1.354 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/1.195, allocations: 97.34 kB / 1.354 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/1.195, allocations: 28.02 kB / 1.354 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/1.195, allocations: 0 / 1.354 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.195, allocations: 320.9 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.842e-05/1.195, allocations: 19.95 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.473e-05/1.195, allocations: 23.06 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.171e-05/1.195, allocations: 18.42 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/1.195, allocations: 0 / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001289/1.195, allocations: 88.08 kB / 1.354 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/1.195, allocations: 3.844 kB / 1.354 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.195, allocations: 0 / 1.354 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/1.195, allocations: 0 / 1.354 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/1.195, allocations: 35.48 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/1.195, allocations: 0 / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/1.195, allocations: 24.53 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/1.195, allocations: 5.234 kB / 1.354 GB, free: 32.36 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 (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 6.604e-05/1.196, allocations: 105.7 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/1.196, allocations: 3.844 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/1.196, allocations: 100.5 kB / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.196, allocations: 0 / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.196, allocations: 0.6562 kB / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.196, allocations: 0.5625 kB / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/1.196, allocations: 181.7 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.196, allocations: 3.938 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/1.196, allocations: 35.11 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.196, allocations: 0 / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.196, allocations: 1.781 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.196, allocations: 7.781 kB / 1.355 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.196, allocations: 0 / 1.355 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/1.196, allocations: 178.2 kB / 1.355 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/1.196, allocations: 85.66 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/1.196, allocations: 0.7969 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/1.196, allocations: 20.17 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/1.197, allocations: 19.06 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/1.197, allocations: 5.109 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.512e-05/1.197, allocations: 98.09 kB / 1.355 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.197, allocations: 0 / 1.355 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002218/1.197, allocations: 16.41 kB / 1.355 GB, free: 31.71 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.0001248/1.197, allocations: 111.6 kB / 1.355 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001235/1.197, allocations: 55.5 kB / 1.355 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/1.197, allocations: 0 / 1.355 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.023e-05/1.197, allocations: 37.08 kB / 1.355 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/1.197, allocations: 9.141 kB / 1.355 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/1.198, allocations: 123.7 kB / 1.356 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/1.198, allocations: 0.6972 MB / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.182e-05/1.198, allocations: 5.688 kB / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/1.198, allocations: 22.11 kB / 1.356 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.198, allocations: 0 / 1.356 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of Templates: time 0.003059/1.201, allocations: 1.219 MB / 1.357 GB, free: 30.74 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches