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.00145/0.00145, allocations: 108 kB / 15.61 MB, free: 152 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.001718/0.001718, allocations: 196 kB / 16.53 MB, free: 6.664 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.435/2.435, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.89 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6498/0.6512, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.00275/0.654, allocations: 1.982 MB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.6554, allocations: 1.192 MB / 0.9528 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.626e-05/0.6556, allocations: 11.72 kB / 0.9529 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.6559, allocations: 157.9 kB / 0.953 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.6562, allocations: 152.1 kB / 0.9531 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.6565, allocations: 219.8 kB / 0.9534 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.6568, allocations: 313.2 kB / 0.9537 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.6569, allocations: 56.23 kB / 0.9537 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.6571, allocations: 137.1 kB / 0.9538 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.6572, allocations: 147.9 kB / 0.954 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.6573, allocations: 18.81 kB / 0.954 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.6574, allocations: 60.55 kB / 0.9541 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.6575, allocations: 92.78 kB / 0.9541 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.187e-05/0.6576, allocations: 124.6 kB / 0.9543 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.6578, allocations: 364.2 kB / 0.9546 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.6578, allocations: 0 / 0.9546 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.001e-06/0.6578, allocations: 0.7188 kB / 0.9546 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.6579, allocations: 0 / 0.9546 GB, free: 5.504 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.0006789/0.6585, allocations: 0.6208 MB / 0.9552 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.6586, allocations: 10.12 kB / 0.9552 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.6586, allocations: 44.89 kB / 0.9553 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.6587, allocations: 36.84 kB / 0.9553 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.659, allocations: 373.5 kB / 0.9557 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.659, allocations: 8.625 kB / 0.9557 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.6591, allocations: 9.5 kB / 0.9557 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.6593, allocations: 107.8 kB / 0.9558 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.6593, allocations: 0 / 0.9558 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.6593, allocations: 5.016 kB / 0.9558 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.6593, allocations: 7.969 kB / 0.9558 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.6595, allocations: 57.56 kB / 0.9558 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.6601, allocations: 0.4943 MB / 0.9563 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.6604, allocations: 136.2 kB / 0.9565 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.683e-05/0.6605, allocations: 52.92 kB / 0.9565 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.6605, allocations: 1.469 kB / 0.9565 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.6607, allocations: 108.3 kB / 0.9566 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.6607, allocations: 0 / 0.9566 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004241/0.6611, allocations: 229.5 kB / 0.9568 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.6611, allocations: 57.19 kB / 0.9569 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.6616, allocations: 0.507 MB / 0.9574 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.6616, allocations: 32.45 kB / 0.9574 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.6617, allocations: 168.9 kB / 0.9576 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.6617, allocations: 34.2 kB / 0.9576 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.6618, allocations: 65.69 kB / 0.9577 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.6618, allocations: 352.5 kB / 0.958 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.662, allocations: 100.5 kB / 0.9581 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.6622, allocations: 128 kB / 0.9582 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.6625, allocations: 184.4 kB / 0.9584 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6625, allocations: 3.938 kB / 0.9584 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004543/0.6629, allocations: 331 kB / 0.9587 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.6629, allocations: 9.188 kB / 0.9587 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.663, allocations: 1.125 kB / 0.9587 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.663, allocations: 2.156 kB / 0.9587 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.6632, allocations: 50.53 kB / 0.9588 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.6632, allocations: 0.9062 kB / 0.9588 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.6633, allocations: 26.95 kB / 0.9588 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.6633, allocations: 8.312 kB / 0.9588 GB, free: 2.27 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.0001221/0.6635, allocations: 183.5 kB / 0.959 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.6635, allocations: 37.89 kB / 0.959 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.6636, allocations: 33.19 kB / 0.9591 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.6636, allocations: 2.188 kB / 0.9591 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.6636, allocations: 0 / 0.9591 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6636, allocations: 1.094 kB / 0.9591 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.6638, allocations: 299.5 kB / 0.9593 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6638, allocations: 1.25 kB / 0.9593 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.6639, allocations: 9 kB / 0.9594 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6639, allocations: 13.05 kB / 0.9594 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.6639, allocations: 6.047 kB / 0.9594 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6639, allocations: 7.984 kB / 0.9594 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6639, allocations: 1.219 kB / 0.9594 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.6642, allocations: 210.6 kB / 0.9596 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.6643, allocations: 117.8 kB / 0.9597 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.6643, allocations: 6.094 kB / 0.9597 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.6644, allocations: 16.36 kB / 0.9597 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.6645, allocations: 14.92 kB / 0.9597 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.6645, allocations: 9.609 kB / 0.9597 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002639/0.6648, allocations: 311.6 kB / 0.96 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6648, allocations: 0 / 0.96 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002559/0.665, allocations: 56.61 kB / 0.9601 GB, free: 1.281 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.001198/0.6662, allocations: 1.065 MB / 0.9611 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.6666, allocations: 195.9 kB / 0.9613 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6666, allocations: 0 / 0.9613 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.6667, allocations: 63.34 kB / 0.9614 GB, free: 400 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.6671, allocations: 93.19 kB / 0.9615 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.6704, allocations: 3.129 MB / 0.9645 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.6707, allocations: 0.7895 MB / 0.9653 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.6708, allocations: 50.64 kB / 0.9653 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.671, allocations: 111.8 kB / 0.9655 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.671, allocations: 9.062 kB / 0.9655 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2194/0.8904, allocations: 7.047 MB / 0.9723 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.759, allocations: 7.922 kB / 0.9723 GB, free: 9.918 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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