Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009105/0.009105, allocations: 100.1 kB / 15.73 MB, free: 6.012 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.00164/0.00164, allocations: 190 kB / 16.67 MB, free: 5.926 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.681/2.681, allocations: 469.8 MB / 0.7425 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 71.83 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8718/0.8731, allocations: 159.1 MB / 1.221 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001756/0.8748, allocations: 0.7033 MB / 1.221 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008957/0.8757, allocations: 0.839 MB / 1.222 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.8758, allocations: 4 kB / 1.222 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.8758, allocations: 3.938 kB / 1.222 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.631e-05/0.8759, allocations: 3.938 kB / 1.222 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.876, allocations: 15.98 kB / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.396e-05/0.8761, allocations: 51.89 kB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.8762, allocations: 11.98 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.053e-05/0.8762, allocations: 23.92 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.8763, allocations: 23.8 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.8763, allocations: 4 kB / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.8763, allocations: 8 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.8763, allocations: 11.97 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.8764, allocations: 27.88 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.8765, allocations: 39.86 kB / 1.222 GB, free: 348 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8765, allocations: 0 / 1.222 GB, free: 348 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8765, allocations: 0 / 1.222 GB, free: 348 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.8765, allocations: 0 / 1.222 GB, free: 348 kB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005179/0.877, allocations: 363.8 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.877, allocations: 8.625 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.8771, allocations: 8.891 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.8772, allocations: 180.3 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.8772, allocations: 4.375 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.8772, allocations: 8.375 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.8774, allocations: 69.53 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8774, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.8774, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.8775, allocations: 7.938 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.8777, allocations: 43.95 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.8781, allocations: 296.8 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.8783, allocations: 62.48 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.8784, allocations: 32.89 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.8784, allocations: 0 / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.8784, allocations: 38.56 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.8784, allocations: 3.938 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0003753/0.8788, allocations: 101.6 kB / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.8788, allocations: 55.34 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.572e-05/0.8789, allocations: 113.9 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.8789, allocations: 25.7 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.879, allocations: 100 kB / 1.224 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.879, allocations: 7.953 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.879, allocations: 21.7 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.8791, allocations: 314.8 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.8792, allocations: 23.97 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.642e-05/0.8793, allocations: 23.97 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.8795, allocations: 56.83 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.8795, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002206/0.8797, allocations: 85.59 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.8797, allocations: 7.938 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.8797, allocations: 0 / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.8797, allocations: 0 / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.8798, allocations: 11.98 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.8798, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.172e-05/0.8799, allocations: 11.98 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.8799, allocations: 4 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.7e-05/0.88, allocations: 114.3 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.88, allocations: 7.984 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.88, allocations: 7.906 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.8801, allocations: 0 / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.8801, allocations: 0 / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8801, allocations: 4 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.8802, allocations: 181.5 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8802, allocations: 0 / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.494e-05/0.8803, allocations: 11.98 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8803, allocations: 0 / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.8803, allocations: 0 / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.8803, allocations: 4 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8803, allocations: 3.938 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.8806, allocations: 187.4 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.8806, allocations: 85 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.8806, allocations: 8.375 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.8807, allocations: 7.984 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.8808, allocations: 11.98 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.8808, allocations: 4 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.096e-05/0.8808, allocations: 83.27 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.8808, allocations: 0 / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002184/0.8811, allocations: 15.94 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001031/0.8812, allocations: 107.2 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.8814, allocations: 51.89 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.8814, allocations: 0 / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.8815, allocations: 31.97 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.8818, allocations: 9.656 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.8821, allocations: 137.4 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.8823, allocations: 0.6807 MB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.967e-05/0.8824, allocations: 4 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.8824, allocations: 15.42 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of SimCode: time 6.32e-07/0.8824, allocations: 4 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of Templates: time 0.003075/0.8855, allocations: 0.8893 MB / 1.227 GB, free: 11.27 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches