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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01102/0.01102, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002546/0.002547, allocations: 195.2 kB / 16.67 MB, free: 5.52 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.834/2.834, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163/1.164, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00224/1.166, allocations: 0.7709 MB / 1.208 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001313/1.168, allocations: 0.8662 MB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/1.168, allocations: 4 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.346e-05/1.168, allocations: 11.88 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/1.168, allocations: 3.938 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/1.168, allocations: 43.89 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/1.168, allocations: 91.75 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/1.168, allocations: 19.98 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.623e-05/1.169, allocations: 51.78 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.408e-05/1.169, allocations: 47.81 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/1.169, allocations: 8 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/1.169, allocations: 8 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/1.169, allocations: 19.92 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/1.169, allocations: 31.84 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/1.169, allocations: 91.66 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.169, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.274e-06/1.169, allocations: 4 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.745e-06/1.169, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 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.0006952/1.17, allocations: 393 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/1.17, allocations: 8.031 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/1.17, allocations: 8.844 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/1.17, allocations: 180.2 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/1.17, allocations: 8.359 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/1.17, allocations: 8.375 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/1.17, allocations: 105.5 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/1.17, allocations: 4 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/1.17, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.17, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/1.171, allocations: 95.91 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/1.171, allocations: 348.5 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006107/1.172, allocations: 122.5 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/1.172, allocations: 52.81 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/1.172, allocations: 4 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/1.172, allocations: 38.56 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/1.172, allocations: 0 / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006445/1.173, allocations: 177.5 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/1.173, allocations: 55.41 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.975e-05/1.173, allocations: 133.7 kB / 1.211 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/1.173, allocations: 25.7 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/1.173, allocations: 96 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/1.173, allocations: 23.72 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/1.173, allocations: 25.66 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.173, allocations: 318.8 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/1.174, allocations: 47.95 kB / 1.212 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/1.174, allocations: 43.95 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/1.174, allocations: 105.2 kB / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.174, allocations: 0 / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003603/1.174, allocations: 133.5 kB / 1.212 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.174, allocations: 11.94 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.174, allocations: 0 / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.174, allocations: 0 / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/1.175, allocations: 27.91 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/1.175, allocations: 3.984 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/1.175, allocations: 15.92 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/1.175, allocations: 12 kB / 1.212 GB, free: 8.746 MB / 0.9356 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,max1.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.755e-05/1.175, allocations: 113.8 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/1.175, allocations: 7.906 kB / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/1.175, allocations: 153.9 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.175, allocations: 4 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.175, allocations: 0 / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.175, allocations: 3.938 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/1.176, allocations: 205.5 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.176, allocations: 0 / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/1.176, allocations: 23.97 kB / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/1.176, allocations: 0 / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/1.176, allocations: 0 / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.176, allocations: 3.938 kB / 1.213 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.176, allocations: 4 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/1.176, allocations: 239.4 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/1.176, allocations: 81.02 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/1.176, allocations: 0 / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/1.176, allocations: 15.97 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/1.177, allocations: 27.92 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/1.177, allocations: 3.984 kB / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.435e-05/1.177, allocations: 99.22 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.177, allocations: 0 / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002282/1.177, allocations: 15.94 kB / 1.213 GB, free: 7.66 MB / 0.9356 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.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.000128/1.177, allocations: 103.2 kB / 1.213 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004052/1.177, allocations: 104 kB / 1.213 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.177, allocations: 0 / 1.213 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/1.178, allocations: 63.88 kB / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/1.178, allocations: 16 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/1.178, allocations: 178 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/1.179, allocations: 0.6924 MB / 1.214 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.998e-05/1.179, allocations: 15.98 kB / 1.214 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/1.179, allocations: 19.42 kB / 1.214 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/1.179, allocations: 0 / 1.214 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of Templates: time 0.004112/1.183, allocations: 1.593 MB / 1.216 GB, free: 4.836 MB / 0.9356 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches