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/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 103.4 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 191 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.712/2.712, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.92 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6779/0.6798, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001872/0.6817, allocations: 0.7801 MB / 1.084 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008253/0.6826, allocations: 0.8708 MB / 1.085 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.6826, allocations: 0.6562 kB / 1.085 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.6827, allocations: 5.781 kB / 1.085 GB, free: 488 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.49e-05/0.6827, allocations: 10.06 kB / 1.085 GB, free: 480 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.6829, allocations: 42.91 kB / 1.085 GB, free: 456 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.683, allocations: 81.61 kB / 1.085 GB, free: 420 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.6831, allocations: 25.84 kB / 1.085 GB, free: 408 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.391e-05/0.6832, allocations: 44.52 kB / 1.085 GB, free: 384 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.556e-05/0.6833, allocations: 45.38 kB / 1.085 GB, free: 364 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.6833, allocations: 7.281 kB / 1.085 GB, free: 364 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.6833, allocations: 9.188 kB / 1.085 GB, free: 364 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.6834, allocations: 22.19 kB / 1.085 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.6834, allocations: 39.56 kB / 1.085 GB, free: 320 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.6835, allocations: 86.73 kB / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.6835, allocations: 0 / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6835, allocations: 0 / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.6836, allocations: 0 / 1.085 GB, free: 284 kB / 0.8262 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.0005658/0.6841, allocations: 394.1 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.6842, allocations: 8.625 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.6842, allocations: 9.031 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.6844, allocations: 175.4 kB / 1.086 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.6844, allocations: 6.797 kB / 1.086 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.6844, allocations: 8.938 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.6847, allocations: 107.9 kB / 1.086 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.6847, allocations: 0 / 1.086 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.6848, allocations: 5.062 kB / 1.086 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.6848, allocations: 1.219 kB / 1.086 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.6851, allocations: 102.4 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.6857, allocations: 341.1 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/0.6863, allocations: 131.4 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.6865, allocations: 55.48 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.6865, allocations: 0 / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.6866, allocations: 32.81 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.6866, allocations: 0 / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0006707/0.6873, allocations: 190.9 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.6873, allocations: 52.84 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.6874, allocations: 122.9 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.6875, allocations: 26.64 kB / 1.087 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.6875, allocations: 101.7 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.6875, allocations: 16.11 kB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.6876, allocations: 27.08 kB / 1.087 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6877, allocations: 318.7 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.6879, allocations: 44.92 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.6881, allocations: 48.3 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.6885, allocations: 97.03 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6885, allocations: 0 / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004131/0.6889, allocations: 142.3 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.6889, allocations: 10.86 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.6889, allocations: 0.5469 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.6889, allocations: 0 / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.6891, allocations: 24.3 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.6891, allocations: 1.094 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.6892, allocations: 20.27 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.6892, allocations: 3.859 kB / 1.087 GB, free: 14.33 MB / 0.8419 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 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.379e-05/0.6893, allocations: 117.1 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.6894, allocations: 12.2 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004779/0.6899, allocations: 153.4 kB / 1.088 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.6899, allocations: 0.6562 kB / 1.088 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6899, allocations: 1.406 kB / 1.088 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.6899, allocations: 8.625 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.6901, allocations: 202.3 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6901, allocations: 0 / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.6903, allocations: 24.42 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.6903, allocations: 1.922 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.6903, allocations: 1.125 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6903, allocations: 1.312 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.6903, allocations: 0 / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.6908, allocations: 248.3 kB / 1.088 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.6909, allocations: 83.09 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.6909, allocations: 1 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.691, allocations: 12.28 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.6911, allocations: 24.92 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.6911, allocations: 11.64 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.368e-05/0.6912, allocations: 101.6 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.6912, allocations: 0 / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002251/0.6914, allocations: 15.91 kB / 1.088 GB, free: 13.54 MB / 0.8419 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.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001161/0.6916, allocations: 102.6 kB / 1.089 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.692, allocations: 106.1 kB / 1.089 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.692, allocations: 4 kB / 1.089 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.6922, allocations: 56.77 kB / 1.089 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.6925, allocations: 13.34 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.693, allocations: 203 kB / 1.089 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.6933, allocations: 0.6906 MB / 1.09 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.6933, allocations: 20.12 kB / 1.09 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.6933, allocations: 1.531 kB / 1.09 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.002745/0.6961, allocations: 1.234 MB / 1.091 GB, free: 12.43 MB / 0.8419 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=400 -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches