Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_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_latest_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.001415/0.001416, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001425/0.001425, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.407/2.407, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 71.88 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.7542, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001836/0.7561, allocations: 0.7731 MB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008704/0.757, allocations: 0.8624 MB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.757, allocations: 4 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.7571, allocations: 11.86 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.015e-05/0.7572, allocations: 7.938 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.7573, allocations: 39.88 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.7575, allocations: 83.83 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.7576, allocations: 27.98 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.7577, allocations: 47.77 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.7577, allocations: 47.83 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.7578, allocations: 8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.7578, allocations: 8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.7578, allocations: 19.91 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.7579, allocations: 31.86 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.758, allocations: 87.66 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.758, allocations: 4 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/0.758, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.758, allocations: 0 / 1.21 GB, free: 11.57 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.0006064/0.7587, allocations: 393 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.7587, allocations: 12.03 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.7587, allocations: 8.844 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.7589, allocations: 176.2 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.7589, allocations: 8.359 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.7589, allocations: 12.38 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.7592, allocations: 101.5 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.7592, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.7593, allocations: 4 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.7593, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.7596, allocations: 99.91 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.7601, allocations: 344.5 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005843/0.7607, allocations: 118.6 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.7609, allocations: 64.75 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.761, allocations: 3.938 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.761, allocations: 30.56 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.761, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006451/0.7616, allocations: 189.4 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.7617, allocations: 51.41 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.7618, allocations: 125.7 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.7618, allocations: 25.7 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.7619, allocations: 104 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.7619, allocations: 15.75 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.7619, allocations: 21.7 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.762, allocations: 326.8 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.7622, allocations: 47.89 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.7624, allocations: 43.95 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.7627, allocations: 96.78 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7627, allocations: 0 / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003873/0.7631, allocations: 134 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7632, allocations: 9.719 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.7632, allocations: 0 / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.7632, allocations: 0 / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.7634, allocations: 35.91 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.7634, allocations: 4.062 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.7635, allocations: 15.92 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.7635, allocations: 3.984 kB / 1.213 GB, free: 8.766 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,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.711e-05/0.7636, allocations: 113.8 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.7636, allocations: 7.906 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.7637, allocations: 8.375 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.7637, allocations: 4 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7637, allocations: 4 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7637, allocations: 3.938 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.7639, allocations: 201.5 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7639, allocations: 0 / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.764, allocations: 23.97 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.764, allocations: 0 / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.7641, allocations: 8 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.7641, allocations: 7.922 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.7641, allocations: 0 / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.7645, allocations: 235.3 kB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.7646, allocations: 88.98 kB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.7646, allocations: 0 / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.7647, allocations: 15.98 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.7648, allocations: 27.91 kB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.7648, allocations: 8 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.7649, allocations: 99.58 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.7649, allocations: 0 / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002221/0.7651, allocations: 15.94 kB / 1.214 GB, free: 7.812 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 (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.0001127/0.7652, allocations: 103.2 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004226/0.7657, allocations: 107.8 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7657, allocations: 0 / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.7659, allocations: 55.95 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.7662, allocations: 8 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.7666, allocations: 207.8 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.7668, allocations: 0.6962 MB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.7669, allocations: 19.42 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.7669, allocations: 0 / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of Templates: time 0.002563/0.7694, allocations: 1.229 MB / 1.216 GB, free: 5.332 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches