Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008762/0.008762, allocations: 171.5 kB / 16.27 MB, free: 6.652 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.511/1.511, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.601/2.601, allocations: 390.9 MB / 0.6663 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003698, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7914/0.7918, allocations: 142.4 MB / 0.955 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001124/0.793, allocations: 0.4938 MB / 0.9555 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009491/0.7939, allocations: 0.8599 MB / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.794, allocations: 1 kB / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.7941, allocations: 4.906 kB / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.7942, allocations: 5.156 kB / 0.9564 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.7943, allocations: 37.89 kB / 0.9564 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.7945, allocations: 82.42 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.7946, allocations: 25.48 kB / 0.9565 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.998e-05/0.7947, allocations: 32.33 kB / 0.9566 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.7948, allocations: 39.84 kB / 0.9566 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.7948, allocations: 3.719 kB / 0.9566 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.544e-05/0.7948, allocations: 3.438 kB / 0.9566 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.7949, allocations: 14.09 kB / 0.9566 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.7949, allocations: 59.41 kB / 0.9567 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.795, allocations: 79.08 kB / 0.9567 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.795, allocations: 0 / 0.9567 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7951, allocations: 0 / 0.9567 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.7951, allocations: 0.875 kB / 0.9567 GB, free: 6.363 MB / 0.7169 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.0005721/0.7956, allocations: 394.5 kB / 0.9571 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.7957, allocations: 12.75 kB / 0.9571 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.7957, allocations: 9.688 kB / 0.9571 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.7959, allocations: 184.3 kB / 0.9573 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.7959, allocations: 3.688 kB / 0.9573 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.7959, allocations: 7.969 kB / 0.9573 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.7962, allocations: 118 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.7963, allocations: 0 / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.7963, allocations: 1.031 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.7963, allocations: 1.156 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/0.7967, allocations: 123.6 kB / 0.9576 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.7972, allocations: 348.2 kB / 0.9579 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006145/0.7978, allocations: 131.2 kB / 0.958 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.798, allocations: 64.72 kB / 0.9581 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.798, allocations: 9.312 kB / 0.9581 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.7981, allocations: 31.91 kB / 0.9581 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.7981, allocations: 0 / 0.9581 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006907/0.7988, allocations: 216.6 kB / 0.9583 GB, free: 5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.7988, allocations: 52.44 kB / 0.9584 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/0.7989, allocations: 121.7 kB / 0.9585 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.7989, allocations: 26.89 kB / 0.9585 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.799, allocations: 98.39 kB / 0.9586 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.799, allocations: 18.69 kB / 0.9586 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.799, allocations: 20.88 kB / 0.9586 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.67e-05/0.7991, allocations: 320.4 kB / 0.959 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.7993, allocations: 56.95 kB / 0.959 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.7995, allocations: 61.98 kB / 0.9591 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.7999, allocations: 112.8 kB / 0.9592 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7999, allocations: 0 / 0.9592 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004175/0.8003, allocations: 162.5 kB / 0.9593 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8003, allocations: 5.5 kB / 0.9593 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8003, allocations: 4.484 kB / 0.9593 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.8003, allocations: 1.375 kB / 0.9593 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.8005, allocations: 31.22 kB / 0.9594 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8005, allocations: 5.312 kB / 0.9594 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.8006, allocations: 24.28 kB / 0.9594 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.8007, allocations: 2.75 kB / 0.9594 GB, free: 4.117 MB / 0.7169 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,intLesEqu.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 7.106e-05/0.8007, allocations: 116.5 kB / 0.9595 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.8008, allocations: 12.03 kB / 0.9595 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.8008, allocations: 13.75 kB / 0.9595 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.8008, allocations: 0 / 0.9595 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8008, allocations: 1.375 kB / 0.9595 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.8008, allocations: 7.922 kB / 0.9595 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.801, allocations: 191.5 kB / 0.9597 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.801, allocations: 0 / 0.9597 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.8012, allocations: 28.59 kB / 0.9598 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.8012, allocations: 4 kB / 0.9598 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.8012, allocations: 5.359 kB / 0.9598 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.8012, allocations: 5.375 kB / 0.9598 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8012, allocations: 0 / 0.9598 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.8017, allocations: 265.6 kB / 0.96 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.417e-05/0.8017, allocations: 87.75 kB / 0.9601 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.8017, allocations: 4 kB / 0.9601 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.8019, allocations: 20.36 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.802, allocations: 18.84 kB / 0.9601 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.802, allocations: 10.69 kB / 0.9602 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.389e-05/0.802, allocations: 92.89 kB / 0.9602 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.802, allocations: 1.375 kB / 0.9602 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002469/0.8023, allocations: 14.94 kB / 0.9603 GB, free: 3.312 MB / 0.7169 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 (intLesEqu.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.0001253/0.8024, allocations: 105.1 kB / 0.9604 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004405/0.8029, allocations: 125.2 kB / 0.9605 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8029, allocations: 4 kB / 0.9605 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.8031, allocations: 73.12 kB / 0.9606 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.8034, allocations: 10.23 kB / 0.9606 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.8039, allocations: 202.1 kB / 0.9608 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.804, allocations: 0.6938 MB / 0.9614 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.217e-05/0.8041, allocations: 11.16 kB / 0.9614 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.8042, allocations: 20.39 kB / 0.9615 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8042, allocations: 0 / 0.9615 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of Templates: time 0.004248/0.8084, allocations: 1.34 MB / 0.9628 GB, free: 1.547 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches