Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001216/0.001216, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001318/0.001318, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.469/1.469, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 67.89 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.105, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002209/1.108, allocations: 0.7837 MB / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001231/1.109, allocations: 0.8764 MB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.273e-05/1.109, allocations: 4 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/1.109, allocations: 3.938 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/1.109, allocations: 7.875 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/1.109, allocations: 35.95 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000134/1.109, allocations: 91.75 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/1.11, allocations: 27.98 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/1.11, allocations: 39.84 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/1.11, allocations: 51.81 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/1.11, allocations: 8 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/1.11, allocations: 8 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/1.11, allocations: 19.92 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/1.11, allocations: 35.78 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/1.11, allocations: 87.66 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.11, allocations: 0 / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.533e-06/1.11, allocations: 4 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.019e-05/1.11, allocations: 0 / 1.169 GB, free: 1.715 MB / 0.8887 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.0006979/1.111, allocations: 389 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.111, allocations: 12.92 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/1.111, allocations: 12.84 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/1.111, allocations: 176.2 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/1.111, allocations: 12.31 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/1.111, allocations: 384 / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/1.112, allocations: 109.5 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.112, allocations: 0 / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/1.112, allocations: 4 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/1.112, allocations: 4 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/1.112, allocations: 95.89 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/1.113, allocations: 348.5 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/1.113, allocations: 114.6 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/1.113, allocations: 64.75 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/1.113, allocations: 0 / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/1.114, allocations: 30.56 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 4.118e-06/1.114, allocations: 0 / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0006704/1.114, allocations: 189.6 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/1.114, allocations: 51.41 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/1.114, allocations: 129.8 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/1.114, allocations: 25.7 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/1.114, allocations: 92.05 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/1.114, allocations: 27.72 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/1.115, allocations: 17.72 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.115, allocations: 326.8 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/1.115, allocations: 47.95 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/1.115, allocations: 48.02 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/1.115, allocations: 100.7 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.115, allocations: 4 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004063/1.116, allocations: 133.5 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.116, allocations: 4 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/1.116, allocations: 4 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.116, allocations: 3.984 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/1.116, allocations: 23.97 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.116, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/1.116, allocations: 19.92 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/1.116, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 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 0.000102/1.116, allocations: 121.8 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/1.116, allocations: 7.906 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004847/1.117, allocations: 153.9 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.117, allocations: 0 / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.117, allocations: 4 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/1.117, allocations: 88.95 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/1.117, allocations: 0 / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/1.117, allocations: 15.97 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/1.117, allocations: 19.98 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005479/1.118, allocations: 228.8 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005/1.118, allocations: 322.6 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000203/1.119, allocations: 55.94 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.394e-05/1.119, allocations: 99.2 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of Backend: time 5.41e-07/1.119, allocations: 0 / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005851/1.119, allocations: 139.5 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006405/1.12, allocations: 0.6157 MB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of Templates: time 0.004505/1.124, allocations: 1.733 MB / 1.175 GB, free: 11.25 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches