Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002242/0.002242, allocations: 165.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.765/1.765, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.934/2.934, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.866e-05/4.183e-05, allocations: 3.562 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.003333/0.003374, allocations: 0.7089 MB / 0.8115 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.005372, allocations: 0.8564 MB / 0.8123 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.005428, allocations: 0 / 0.8123 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.402e-05/0.005482, allocations: 7.922 kB / 0.8124 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.005616, allocations: 11.88 kB / 0.8124 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.005854, allocations: 21 kB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.005994, allocations: 43.91 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.006132, allocations: 12.72 kB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.006269, allocations: 35.89 kB / 0.8125 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.062e-05/0.006359, allocations: 17.67 kB / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.006392, allocations: 4 kB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.859e-05/0.00641, allocations: 4 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.006442, allocations: 11.92 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.00649, allocations: 11.98 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.00666, allocations: 53.33 kB / 0.8126 GB, free: 348 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.006663, allocations: 0 / 0.8126 GB, free: 348 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.283e-06/0.006664, allocations: 0 / 0.8126 GB, free: 348 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.00667, allocations: 0 / 0.8126 GB, free: 348 kB / 0.7605 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.0008609/0.007531, allocations: 279.6 kB / 0.8128 GB, free: 40 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.007585, allocations: 8.031 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.007662, allocations: 8.891 kB / 0.8129 GB, free: 24 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.007888, allocations: 119.5 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.00792, allocations: 8.375 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.007937, allocations: 384 / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.008292, allocations: 70.16 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.008317, allocations: 5.125 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.008334, allocations: 0 / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.00834, allocations: 0 / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/0.008751, allocations: 53.7 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006752/0.009427, allocations: 224.5 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.009802, allocations: 69.02 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.009984, allocations: 32.91 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.01001, allocations: 4 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.01005, allocations: 30.56 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.01005, allocations: 0 / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0007698/0.01082, allocations: 106.9 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.01089, allocations: 57 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.01105, allocations: 110.1 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.01109, allocations: 25.7 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.01119, allocations: 88.09 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.01124, allocations: 15.88 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.01131, allocations: 18.38 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002575/0.01156, allocations: 314.8 kB / 0.8141 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.01176, allocations: 24.94 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.01196, allocations: 33.06 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.01236, allocations: 49.94 kB / 0.8143 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.01236, allocations: 3.938 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004908/0.01286, allocations: 90.64 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.01288, allocations: 4.531 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01288, allocations: 0 / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.01291, allocations: 4.844 kB / 0.8144 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.01312, allocations: 12.03 kB / 0.8144 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.01313, allocations: 6.094 kB / 0.8144 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.01327, allocations: 11.97 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.01328, allocations: 0 / 0.8144 GB, free: 14.34 MB / 0.7761 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 0.0001594/0.01344, allocations: 121.8 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.01349, allocations: 4.594 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.01353, allocations: 8 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01353, allocations: 2.5 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01353, allocations: 0 / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01354, allocations: 0 / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.01383, allocations: 125.3 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.01383, allocations: 3.938 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.014, allocations: 11.98 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.014, allocations: 1.781 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.01401, allocations: 0 / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/0.01402, allocations: 3.984 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.01403, allocations: 0 / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005571/0.01458, allocations: 180 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.01461, allocations: 12.44 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.01463, allocations: 5.906 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.01482, allocations: 4 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.01492, allocations: 15.97 kB / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.01493, allocations: 4 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.598e-05/0.01502, allocations: 79.28 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.31e-07/0.01502, allocations: 1.344 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004418/0.01546, allocations: 12 kB / 0.815 GB, free: 13.7 MB / 0.7761 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.0001889/0.01565, allocations: 99.95 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.01605, allocations: 52.55 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01606, allocations: 3.688 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.01628, allocations: 39.91 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.01679, allocations: 7.938 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.01734, allocations: 124.7 kB / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.01746, allocations: 75.14 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.493e-05/0.01752, allocations: 1.875 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/0.01761, allocations: 24.48 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01761, allocations: 1.031 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of Templates: time 0.005885/0.02349, allocations: 0.9573 MB / 0.8163 GB, free: 12.3 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.277454208000563]