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.001383/0.001383, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001665/0.001665, allocations: 191.4 kB / 16.25 MB, free: 6.637 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.487/1.487, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.415/2.415, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 68.02 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7423/0.7436, allocations: 140.4 MB / 0.9491 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002083/0.7458, allocations: 0.8344 MB / 0.9499 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.7469, allocations: 0.8581 MB / 0.9508 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.747, allocations: 0 / 0.9508 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.87e-05/0.747, allocations: 5 kB / 0.9508 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.7472, allocations: 5.031 kB / 0.9508 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.7475, allocations: 34.97 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.7476, allocations: 93.91 kB / 0.9509 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.7478, allocations: 23.55 kB / 0.9509 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.7479, allocations: 40.84 kB / 0.951 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.7481, allocations: 49.38 kB / 0.951 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.7481, allocations: 6.438 kB / 0.951 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.212e-05/0.7481, allocations: 8 kB / 0.951 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.7482, allocations: 18.98 kB / 0.951 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.7482, allocations: 37.84 kB / 0.9511 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.7484, allocations: 83.34 kB / 0.9512 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.7484, allocations: 0 / 0.9512 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.755e-06/0.7484, allocations: 1.312 kB / 0.9512 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.7484, allocations: 0 / 0.9512 GB, free: 7.621 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.000672/0.7491, allocations: 397.7 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.7491, allocations: 9.531 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.7492, allocations: 12.97 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.7493, allocations: 180.2 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.7494, allocations: 11.05 kB / 0.9517 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.7494, allocations: 12.48 kB / 0.9517 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.7497, allocations: 105.5 kB / 0.9519 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.7497, allocations: 0 / 0.9519 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.7498, allocations: 0 / 0.9519 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.7498, allocations: 1.375 kB / 0.9519 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.7501, allocations: 104.1 kB / 0.952 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.7506, allocations: 343.3 kB / 0.9523 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/0.7512, allocations: 130.8 kB / 0.9524 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.7514, allocations: 50.47 kB / 0.9525 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.7514, allocations: 1.188 kB / 0.9525 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.7515, allocations: 39.91 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.7515, allocations: 0 / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006119/0.7521, allocations: 171.2 kB / 0.9527 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.7521, allocations: 56.72 kB / 0.9527 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.7522, allocations: 122.3 kB / 0.9528 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.7522, allocations: 29.7 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.7523, allocations: 94.55 kB / 0.9529 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.7523, allocations: 26.31 kB / 0.953 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.7524, allocations: 24.02 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.7524, allocations: 325 kB / 0.9533 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.7526, allocations: 43.45 kB / 0.9533 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.7528, allocations: 52.31 kB / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.7531, allocations: 93.75 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7531, allocations: 0 / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003913/0.7535, allocations: 139.2 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7536, allocations: 5 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7536, allocations: 0 / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.7536, allocations: 1.281 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.7538, allocations: 27.28 kB / 0.9536 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7538, allocations: 0.5469 kB / 0.9536 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.7539, allocations: 20.02 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.7539, allocations: 5.328 kB / 0.9537 GB, free: 5.375 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 8.258e-05/0.754, allocations: 117.6 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.754, allocations: 7.844 kB / 0.9538 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.7541, allocations: 9.406 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.7541, allocations: 1.469 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7541, allocations: 0 / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7541, allocations: 3.938 kB / 0.9538 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.7543, allocations: 200.8 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7543, allocations: 0 / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.7544, allocations: 27.03 kB / 0.954 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7544, allocations: 3.938 kB / 0.954 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.7545, allocations: 1.375 kB / 0.954 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.7545, allocations: 3.984 kB / 0.954 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7545, allocations: 1.719 kB / 0.954 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.7549, allocations: 245.5 kB / 0.9543 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.7549, allocations: 83.84 kB / 0.9543 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.7549, allocations: 0 / 0.9543 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.7551, allocations: 16.61 kB / 0.9544 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.7552, allocations: 22.44 kB / 0.9544 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.7552, allocations: 5.469 kB / 0.9544 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.002e-05/0.7552, allocations: 98.27 kB / 0.9545 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7552, allocations: 0 / 0.9545 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000255/0.7555, allocations: 19.84 kB / 0.9545 GB, free: 4.574 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.0001075/0.7556, allocations: 100.3 kB / 0.9546 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.756, allocations: 115 kB / 0.9547 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.756, allocations: 0 / 0.9547 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.7562, allocations: 67.02 kB / 0.9548 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.7566, allocations: 16.27 kB / 0.9548 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.757, allocations: 187.7 kB / 0.955 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.7572, allocations: 0.6975 MB / 0.9556 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.904e-05/0.7572, allocations: 14.55 kB / 0.9557 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.7573, allocations: 18.25 kB / 0.9557 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7573, allocations: 0 / 0.9557 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of Templates: time 0.003721/0.761, allocations: 1.417 MB / 0.9571 GB, free: 2.766 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