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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001641/0.001642, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002049/0.002049, allocations: 192.9 kB / 16.14 MB, free: 6.719 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.2 MB / 0.6643 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.746/0.7475, allocations: 140.3 MB / 0.9491 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003184/0.7507, allocations: 2.037 MB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.7525, allocations: 1.182 MB / 0.9522 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.7526, allocations: 6.688 kB / 0.9522 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004645/0.7531, allocations: 149.3 kB / 0.9523 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.7534, allocations: 142.6 kB / 0.9525 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.7539, allocations: 200.7 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.7542, allocations: 293.5 kB / 0.953 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.7544, allocations: 51.77 kB / 0.953 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.7546, allocations: 127.1 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.7548, allocations: 152.3 kB / 0.9533 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.7548, allocations: 11.19 kB / 0.9533 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.7549, allocations: 40.08 kB / 0.9533 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.755, allocations: 86.53 kB / 0.9534 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.7552, allocations: 117.8 kB / 0.9535 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.7555, allocations: 352.3 kB / 0.9539 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7555, allocations: 3.938 kB / 0.9539 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7555, allocations: 5.219 kB / 0.9539 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.7555, allocations: 3.938 kB / 0.9539 GB, free: 5.531 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.0009083/0.7564, allocations: 0.6243 MB / 0.9545 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.7565, allocations: 9.125 kB / 0.9545 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.7565, allocations: 41.92 kB / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.7566, allocations: 39.22 kB / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.7571, allocations: 374.5 kB / 0.9549 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.7571, allocations: 4.438 kB / 0.9549 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.7571, allocations: 9.781 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.7574, allocations: 105.3 kB / 0.955 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.7574, allocations: 0 / 0.955 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.7574, allocations: 9.328 kB / 0.955 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.7574, allocations: 5.25 kB / 0.955 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.7576, allocations: 55.22 kB / 0.9551 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007182/0.7583, allocations: 0.4903 MB / 0.9556 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.7586, allocations: 140.7 kB / 0.9557 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.7588, allocations: 48.7 kB / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.7588, allocations: 1.312 kB / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.759, allocations: 116.6 kB / 0.9559 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.759, allocations: 4 kB / 0.9559 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.000504/0.7596, allocations: 227.1 kB / 0.9561 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.7596, allocations: 53.09 kB / 0.9561 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.7601, allocations: 0.5059 MB / 0.9566 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.7601, allocations: 28.14 kB / 0.9567 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.947e-05/0.7602, allocations: 173.3 kB / 0.9568 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.7603, allocations: 38.42 kB / 0.9569 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-05/0.7604, allocations: 69.47 kB / 0.9569 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.7605, allocations: 348.4 kB / 0.9573 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.7607, allocations: 96.89 kB / 0.9574 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.7609, allocations: 132.3 kB / 0.9575 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.7612, allocations: 181.8 kB / 0.9577 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7612, allocations: 1.375 kB / 0.9577 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005326/0.7617, allocations: 327.2 kB / 0.958 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.7618, allocations: 8.75 kB / 0.958 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7618, allocations: 1.188 kB / 0.958 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.7618, allocations: 2.688 kB / 0.958 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.762, allocations: 50.03 kB / 0.958 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.7621, allocations: 1.812 kB / 0.958 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.7622, allocations: 30.73 kB / 0.9581 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.7623, allocations: 11.66 kB / 0.9581 GB, free: 2.297 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.0001696/0.7624, allocations: 175.6 kB / 0.9582 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.7625, allocations: 37.89 kB / 0.9583 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.411e-05/0.7626, allocations: 37.28 kB / 0.9583 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.7626, allocations: 2.188 kB / 0.9583 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.7626, allocations: 0 / 0.9583 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.7626, allocations: 5.219 kB / 0.9583 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.7628, allocations: 295.7 kB / 0.9586 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7629, allocations: 4 kB / 0.9586 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-05/0.7629, allocations: 9.438 kB / 0.9586 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7629, allocations: 5 kB / 0.9586 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.763, allocations: 10.8 kB / 0.9586 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.763, allocations: 0 / 0.9586 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.763, allocations: 1.125 kB / 0.9586 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.7633, allocations: 212.5 kB / 0.9588 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.7634, allocations: 117.4 kB / 0.9589 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.7635, allocations: 10.19 kB / 0.9589 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.7636, allocations: 8.922 kB / 0.959 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.7637, allocations: 19.09 kB / 0.959 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.7637, allocations: 9.25 kB / 0.959 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003238/0.764, allocations: 315.2 kB / 0.9593 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.764, allocations: 1.219 kB / 0.9593 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003113/0.7643, allocations: 52.09 kB / 0.9593 GB, free: 1.32 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.001463/0.7658, allocations: 1.066 MB / 0.9604 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004088/0.7662, allocations: 195.7 kB / 0.9606 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7662, allocations: 0 / 0.9606 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.7664, allocations: 67.97 kB / 0.9606 GB, free: 432 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.7668, allocations: 77.55 kB / 0.9607 GB, free: 396 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.7712, allocations: 3.184 MB / 0.9638 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.7717, allocations: 0.7887 MB / 0.9646 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001974/0.7719, allocations: 55.16 kB / 0.9646 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.7721, allocations: 102.5 kB / 0.9647 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of SimCode: time 6.42e-07/0.7721, allocations: 1.125 kB / 0.9647 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.7927, allocations: 6.745 MB / 0.9713 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.7929, allocations: 237.3 kB / 0.9715 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.732, allocations: 3.938 kB / 0.9716 GB, free: 9.875 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