Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_10_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_10_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.01097/0.01097, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.002158/0.002159, allocations: 186.7 kB / 16.67 MB, free: 5.922 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.562/1.562, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.819/2.819, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15/1.152, allocations: 151.6 MB / 1.167 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001992/1.154, allocations: 0.7204 MB / 1.167 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001044/1.155, allocations: 0.8375 MB / 1.168 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/1.155, allocations: 4 kB / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/1.155, allocations: 3.938 kB / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.688e-05/1.155, allocations: 3.938 kB / 1.168 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/1.155, allocations: 19.92 kB / 1.168 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.977e-05/1.155, allocations: 59.83 kB / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/1.155, allocations: 11.98 kB / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.352e-05/1.155, allocations: 12 kB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.406e-05/1.156, allocations: 31.84 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/1.156, allocations: 4 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/1.156, allocations: 4 kB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/1.156, allocations: 11.97 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/1.156, allocations: 19.88 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/1.156, allocations: 47.84 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.156, allocations: 0 / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.623e-06/1.156, allocations: 0 / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.015e-05/1.156, allocations: 4 kB / 1.168 GB, free: 2.184 MB / 0.8887 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.0005634/1.156, allocations: 356.3 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.156, allocations: 12.03 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/1.156, allocations: 4.938 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/1.157, allocations: 180.2 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/1.157, allocations: 4.375 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/1.157, allocations: 4.375 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/1.157, allocations: 69.58 kB / 1.169 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/1.157, allocations: 0 / 1.169 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/1.157, allocations: 8 kB / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.157, allocations: 0 / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/1.157, allocations: 47.95 kB / 1.169 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/1.158, allocations: 296.7 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/1.158, allocations: 66.47 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/1.158, allocations: 28.92 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/1.158, allocations: 4.062 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/1.158, allocations: 34.56 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/1.158, allocations: 0 / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004334/1.158, allocations: 109.6 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/1.159, allocations: 51.41 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/1.159, allocations: 113.8 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/1.159, allocations: 29.7 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/1.159, allocations: 84.09 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/1.159, allocations: 19.89 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/1.159, allocations: 17.7 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.159, allocations: 318.8 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/1.159, allocations: 23.97 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.669e-05/1.159, allocations: 19.98 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/1.159, allocations: 56.81 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.159, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002606/1.16, allocations: 89.53 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.16, allocations: 10.66 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/1.16, allocations: 0 / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/1.16, allocations: 0 / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/1.16, allocations: 11.98 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.16, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.308e-05/1.16, allocations: 11.98 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/1.16, allocations: 4 kB / 1.17 GB, free: 15.92 MB / 0.9044 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 9.076e-05/1.16, allocations: 114.1 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/1.16, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/1.16, allocations: 11.89 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/1.16, allocations: 3.984 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.16, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.16, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/1.16, allocations: 173.6 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.16, allocations: 3.984 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.5e-05/1.16, allocations: 23.86 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.16, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/1.16, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.16, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.16, allocations: 4 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/1.161, allocations: 187.4 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/1.161, allocations: 81.11 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/1.161, allocations: 0 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/1.161, allocations: 15.92 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/1.161, allocations: 7.984 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/1.161, allocations: 4 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.705e-05/1.161, allocations: 83.28 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.161, allocations: 0 / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002223/1.161, allocations: 19.89 kB / 1.171 GB, free: 15.09 MB / 0.9044 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.0001281/1.161, allocations: 107.2 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002621/1.162, allocations: 51.95 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.162, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/1.162, allocations: 35.97 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/1.162, allocations: 0 / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/1.162, allocations: 141.3 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/1.163, allocations: 0.6845 MB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.657e-05/1.163, allocations: 4 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/1.163, allocations: 15.42 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/1.163, allocations: 4 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of Templates: time 0.003364/1.166, allocations: 0.8761 MB / 1.173 GB, free: 13.12 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches