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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002374/0.002374, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.485/1.485, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.39/2.39, allocations: 390.3 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 63.91 kB / 0.8127 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7699, allocations: 140.4 MB / 0.9497 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003614/0.7735, allocations: 1.983 MB / 0.9517 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.7756, allocations: 1.197 MB / 0.9528 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.7758, allocations: 6.719 kB / 0.9529 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.7762, allocations: 157.9 kB / 0.953 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004204/0.7767, allocations: 156.9 kB / 0.9532 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006662/0.7773, allocations: 226.2 kB / 0.9534 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.7778, allocations: 308.3 kB / 0.9537 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.778, allocations: 55.03 kB / 0.9537 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.7782, allocations: 142.3 kB / 0.9538 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.7784, allocations: 148.2 kB / 0.954 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.7785, allocations: 14.53 kB / 0.954 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.7787, allocations: 53.17 kB / 0.9541 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.944e-05/0.7788, allocations: 92.41 kB / 0.9541 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.7789, allocations: 128.8 kB / 0.9543 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.7793, allocations: 363.8 kB / 0.9546 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7793, allocations: 5.312 kB / 0.9546 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7793, allocations: 0 / 0.9546 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.7794, allocations: 0 / 0.9546 GB, free: 5.59 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.0009795/0.7803, allocations: 0.6209 MB / 0.9552 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.7804, allocations: 8.719 kB / 0.9552 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.7804, allocations: 43.11 kB / 0.9553 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.447e-05/0.7805, allocations: 36.78 kB / 0.9553 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.781, allocations: 365.3 kB / 0.9557 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.781, allocations: 15.95 kB / 0.9557 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.7811, allocations: 4.031 kB / 0.9557 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.7813, allocations: 112.9 kB / 0.9558 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.7813, allocations: 0 / 0.9558 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.7814, allocations: 5.375 kB / 0.9558 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.7814, allocations: 1.594 kB / 0.9558 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.7815, allocations: 59.3 kB / 0.9558 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000738/0.7823, allocations: 0.4907 MB / 0.9563 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.7826, allocations: 143.7 kB / 0.9565 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.7827, allocations: 52.2 kB / 0.9565 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.7827, allocations: 5.375 kB / 0.9565 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.783, allocations: 108.3 kB / 0.9566 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.895e-06/0.783, allocations: 0 / 0.9566 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005139/0.7835, allocations: 228.2 kB / 0.9568 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.7835, allocations: 57.02 kB / 0.9569 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005527/0.7841, allocations: 0.5109 MB / 0.9574 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.7841, allocations: 32.05 kB / 0.9574 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.7842, allocations: 161.6 kB / 0.9576 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.7843, allocations: 42.12 kB / 0.9576 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.7844, allocations: 64.66 kB / 0.9577 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.7844, allocations: 349.5 kB / 0.958 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.7846, allocations: 97.05 kB / 0.9581 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.7848, allocations: 139 kB / 0.9582 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.7852, allocations: 177 kB / 0.9584 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7852, allocations: 3.938 kB / 0.9584 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005173/0.7857, allocations: 330.4 kB / 0.9587 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.7858, allocations: 15.31 kB / 0.9587 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.7858, allocations: 1.375 kB / 0.9587 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.7858, allocations: 0.875 kB / 0.9587 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.786, allocations: 50.34 kB / 0.9588 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.7861, allocations: 2.219 kB / 0.9588 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.7862, allocations: 22.55 kB / 0.9588 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.7863, allocations: 12.72 kB / 0.9588 GB, free: 2.355 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.0001469/0.7864, allocations: 179.1 kB / 0.959 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.7865, allocations: 38.06 kB / 0.959 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.7866, allocations: 37.48 kB / 0.9591 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.7866, allocations: 1.281 kB / 0.9591 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7866, allocations: 1.406 kB / 0.9591 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7866, allocations: 0 / 0.9591 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.7868, allocations: 291.5 kB / 0.9593 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7868, allocations: 5.047 kB / 0.9594 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.7869, allocations: 12.69 kB / 0.9594 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.7869, allocations: 5 kB / 0.9594 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.7869, allocations: 6.172 kB / 0.9594 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.7869, allocations: 1.094 kB / 0.9594 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.7869, allocations: 4 kB / 0.9594 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.7873, allocations: 204.6 kB / 0.9596 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.7874, allocations: 122.4 kB / 0.9597 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.7874, allocations: 6.656 kB / 0.9597 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.7875, allocations: 11.92 kB / 0.9597 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.7876, allocations: 15.23 kB / 0.9597 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.7876, allocations: 13.7 kB / 0.9597 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003157/0.7879, allocations: 310.8 kB / 0.96 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.788, allocations: 5.031 kB / 0.96 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000323/0.7883, allocations: 55.39 kB / 0.9601 GB, free: 1.375 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: 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.001397/0.7897, allocations: 1.071 MB / 0.9611 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004076/0.7901, allocations: 200 kB / 0.9613 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.7901, allocations: 3.938 kB / 0.9613 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.7903, allocations: 62.59 kB / 0.9614 GB, free: 480 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.7907, allocations: 85.11 kB / 0.9615 GB, free: 448 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.7947, allocations: 3.135 MB / 0.9645 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.7951, allocations: 0.7852 MB / 0.9653 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.7953, allocations: 55.2 kB / 0.9654 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.7955, allocations: 107.3 kB / 0.9655 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of SimCode: time 4e-07/0.7955, allocations: 1.094 kB / 0.9655 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.8253, allocations: 7.05 MB / 0.9723 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.553, allocations: 10.39 kB / 0.9724 GB, free: 10.01 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/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