Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009872/0.0009871, allocations: 97.72 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.008648/0.008648, allocations: 170 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.539/1.539, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.43/2.43, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004408, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8461/0.8466, allocations: 142.4 MB / 0.9551 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002312/0.849, allocations: 1.693 MB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.8508, allocations: 1.154 MB / 0.9578 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.851, allocations: 2.094 kB / 0.9578 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004474/0.8514, allocations: 149.7 kB / 0.958 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.8517, allocations: 143.7 kB / 0.9581 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.8523, allocations: 196.5 kB / 0.9583 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.8527, allocations: 298.1 kB / 0.9586 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.8529, allocations: 50.08 kB / 0.9586 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.8531, allocations: 126.4 kB / 0.9588 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.8533, allocations: 138.7 kB / 0.9589 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.8533, allocations: 5.5 kB / 0.9589 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.8535, allocations: 59.41 kB / 0.9589 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.8536, allocations: 78.05 kB / 0.959 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.8537, allocations: 133.7 kB / 0.9592 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.8542, allocations: 357 kB / 0.9595 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8542, allocations: 0 / 0.9595 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8542, allocations: 0 / 0.9595 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.8542, allocations: 1.375 kB / 0.9595 GB, free: 4.488 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001003/0.8552, allocations: 0.578 MB / 0.9601 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.8553, allocations: 9.031 kB / 0.9601 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.8554, allocations: 31.59 kB / 0.9601 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.8559, allocations: 374.8 kB / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.8559, allocations: 7.438 kB / 0.9605 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.856, allocations: 6.469 kB / 0.9605 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.8562, allocations: 107.9 kB / 0.9606 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.8563, allocations: 0 / 0.9606 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.8563, allocations: 0.7812 kB / 0.9606 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.8563, allocations: 6.406 kB / 0.9606 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.8565, allocations: 62.83 kB / 0.9606 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.8573, allocations: 0.4956 MB / 0.9611 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.8577, allocations: 143.9 kB / 0.9613 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.8578, allocations: 48.2 kB / 0.9613 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.8579, allocations: 6.75 kB / 0.9613 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.8581, allocations: 104.1 kB / 0.9614 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.8581, allocations: 4 kB / 0.9614 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005428/0.8586, allocations: 227.7 kB / 0.9616 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.8587, allocations: 53 kB / 0.9617 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/0.8593, allocations: 0.5107 MB / 0.9622 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.8593, allocations: 31.67 kB / 0.9622 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.8594, allocations: 161.8 kB / 0.9624 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.8594, allocations: 37.58 kB / 0.9624 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.8595, allocations: 41 kB / 0.9624 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.8596, allocations: 345 kB / 0.9628 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.8598, allocations: 104.8 kB / 0.9629 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.86, allocations: 127.9 kB / 0.963 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.8604, allocations: 186.4 kB / 0.9632 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.8604, allocations: 5.125 kB / 0.9632 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006263/0.861, allocations: 319.5 kB / 0.9635 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.8611, allocations: 11.31 kB / 0.9635 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.8611, allocations: 3.938 kB / 0.9635 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.8611, allocations: 6.672 kB / 0.9635 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.8613, allocations: 49.23 kB / 0.9635 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.8614, allocations: 3.125 kB / 0.9635 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.8615, allocations: 18.45 kB / 0.9636 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.8616, allocations: 16.55 kB / 0.9636 GB, free: 1.352 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002203/0.8618, allocations: 183.2 kB / 0.9638 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.8619, allocations: 34 kB / 0.9638 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.341e-05/0.862, allocations: 41.62 kB / 0.9638 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.862, allocations: 1.25 kB / 0.9638 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.862, allocations: 1.094 kB / 0.9638 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.862, allocations: 0 / 0.9638 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.8623, allocations: 296.1 kB / 0.9641 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.8624, allocations: 5.375 kB / 0.9641 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.8624, allocations: 12.42 kB / 0.9641 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.8624, allocations: 1 kB / 0.9641 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.8625, allocations: 10.59 kB / 0.9641 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.8625, allocations: 0 / 0.9641 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8625, allocations: 1.531 kB / 0.9641 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.8629, allocations: 207.6 kB / 0.9643 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.863, allocations: 119 kB / 0.9645 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.8631, allocations: 14.69 kB / 0.9645 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.8632, allocations: 8.922 kB / 0.9645 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.565e-05/0.8633, allocations: 15.61 kB / 0.9645 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.8633, allocations: 13.05 kB / 0.9645 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004276/0.8638, allocations: 311.5 kB / 0.9648 GB, free: 392 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8638, allocations: 0 / 0.9648 GB, free: 392 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003359/0.8641, allocations: 56.36 kB / 0.9649 GB, free: 380 kB / 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: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001222/0.8653, allocations: 425.4 kB / 0.9653 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.8658, allocations: 197.2 kB / 0.9654 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8658, allocations: 0 / 0.9654 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.866, allocations: 62.47 kB / 0.9655 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.8666, allocations: 80.02 kB / 0.9656 GB, free: 24 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.8678, allocations: 0.6059 MB / 0.9662 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.8683, allocations: 0.7886 MB / 0.9669 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000184/0.8685, allocations: 55.53 kB / 0.967 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.8686, allocations: 35.42 kB / 0.967 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.8686, allocations: 0 / 0.967 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of Templates: time 0.009212/0.8778, allocations: 3.824 MB / 0.9708 GB, free: 12.94 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches