Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_10_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_10_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.001448/0.001448, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001713/0.001713, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.514/1.514, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.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.85/2.85, allocations: 437 MB / 0.71 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7159/0.7173, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003895/0.7212, allocations: 2.058 MB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002073/0.7233, allocations: 1.182 MB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.7235, allocations: 7.938 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.7241, allocations: 159.6 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.7245, allocations: 139.5 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006333/0.7251, allocations: 203.3 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.7255, allocations: 311.2 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.7257, allocations: 48.38 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.7259, allocations: 147.4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.7261, allocations: 155.4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.7262, allocations: 16 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.7263, allocations: 47.98 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.7264, allocations: 95.66 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.7266, allocations: 123.1 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004239/0.727, allocations: 360.8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.727, allocations: 4 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.727, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.727, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 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.001041/0.7281, allocations: 0.6263 MB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.7281, allocations: 8.031 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.452e-05/0.7282, allocations: 36.47 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.7288, allocations: 374.2 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.7288, allocations: 8 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.7288, allocations: 11.94 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.7291, allocations: 111.1 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.7291, allocations: 3.984 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.7291, allocations: 4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.7291, allocations: 4 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.7293, allocations: 59.95 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008454/0.7302, allocations: 0.4925 MB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.7305, allocations: 130.8 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.7307, allocations: 48.83 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.7307, allocations: 11.94 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.731, allocations: 111.3 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.731, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005475/0.7315, allocations: 225.2 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.7317, allocations: 51.41 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005556/0.7323, allocations: 0.517 MB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.7323, allocations: 29.64 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.7324, allocations: 164.4 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.7325, allocations: 43.48 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.7326, allocations: 69.95 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.7327, allocations: 346.8 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.7329, allocations: 100.5 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.7332, allocations: 139.6 kB / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.7335, allocations: 174.5 kB / 1.025 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7335, allocations: 0 / 1.025 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005508/0.7341, allocations: 318.6 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.7341, allocations: 11.98 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.7341, allocations: 8 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.7341, allocations: 0 / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.7344, allocations: 51.97 kB / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.7344, allocations: 3.938 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.7345, allocations: 19.84 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.7346, allocations: 15.98 kB / 1.026 GB, free: 9.195 MB / 0.7794 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.0001791/0.7348, allocations: 173.8 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.7348, allocations: 35.56 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.897e-05/0.7349, allocations: 47.06 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7349, allocations: 0 / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.7349, allocations: 0 / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.735, allocations: 3.984 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.7352, allocations: 293.4 kB / 1.026 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7352, allocations: 0 / 1.026 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.7353, allocations: 11.98 kB / 1.026 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.7353, allocations: 4 kB / 1.026 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.7353, allocations: 7.938 kB / 1.026 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7354, allocations: 0 / 1.026 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.7354, allocations: 0 / 1.026 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.7357, allocations: 216.3 kB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.636e-05/0.7359, allocations: 116.6 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.7359, allocations: 7.938 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.736, allocations: 11.98 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.7361, allocations: 19.92 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.7361, allocations: 8 kB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003383/0.7365, allocations: 319.1 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7365, allocations: 0 / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003024/0.7368, allocations: 56 kB / 1.027 GB, free: 7.801 MB / 0.7794 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.001148/0.7379, allocations: 428 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004859/0.7384, allocations: 207.7 kB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.7385, allocations: 4 kB / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.7386, allocations: 60.09 kB / 1.028 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.7391, allocations: 80.58 kB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009765/0.7401, allocations: 0.5979 MB / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.7406, allocations: 0.787 MB / 1.029 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001721/0.7407, allocations: 58.94 kB / 1.029 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.202e-05/0.7408, allocations: 35.42 kB / 1.029 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.7408, allocations: 0 / 1.029 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of Templates: time 0.008252/0.7491, allocations: 3.992 MB / 1.033 GB, free: 1.719 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches