Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.936/2.936, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 176] 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 63.91 kB / 1.107 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.208, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002124/1.211, allocations: 0.7133 MB / 1.273 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001106/1.212, allocations: 0.8394 MB / 1.273 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/1.212, allocations: 4.625 kB / 1.273 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.796e-05/1.212, allocations: 4.734 kB / 1.274 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.516e-05/1.212, allocations: 8.625 kB / 1.274 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/1.212, allocations: 19.08 kB / 1.274 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/1.212, allocations: 52.95 kB / 1.274 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/1.212, allocations: 11.27 kB / 1.274 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.031e-05/1.212, allocations: 21.66 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/1.212, allocations: 29.39 kB / 1.274 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/1.212, allocations: 4.281 kB / 1.274 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.602e-05/1.212, allocations: 4.188 kB / 1.274 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/1.212, allocations: 11.95 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/1.213, allocations: 18.36 kB / 1.274 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/1.213, allocations: 50.81 kB / 1.274 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.213, allocations: 3.938 kB / 1.274 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.545e-06/1.213, allocations: 0.75 kB / 1.274 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.213, allocations: 0 / 1.274 GB, free: 6.699 MB / 0.9981 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.0005299/1.213, allocations: 356 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.213, allocations: 9.062 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/1.213, allocations: 7.641 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/1.213, allocations: 173.5 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/1.213, allocations: 5.75 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/1.213, allocations: 2.125 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/1.214, allocations: 68.11 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.214, allocations: 0 / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/1.214, allocations: 0.8438 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/1.214, allocations: 4.75 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/1.214, allocations: 61.58 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/1.214, allocations: 292.8 kB / 1.275 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/1.215, allocations: 56.08 kB / 1.275 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/1.215, allocations: 32.61 kB / 1.275 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/1.215, allocations: 0 / 1.275 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/1.215, allocations: 40.69 kB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/1.215, allocations: 0 / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004305/1.215, allocations: 109.7 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/1.215, allocations: 52.47 kB / 1.275 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/1.215, allocations: 111.4 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/1.215, allocations: 25.7 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/1.215, allocations: 95.39 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/1.215, allocations: 12.17 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/1.215, allocations: 17.78 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.668e-05/1.215, allocations: 320.6 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/1.216, allocations: 23.5 kB / 1.276 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.941e-05/1.216, allocations: 28.83 kB / 1.276 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/1.216, allocations: 52.59 kB / 1.276 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.216, allocations: 3.938 kB / 1.276 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002222/1.216, allocations: 84.59 kB / 1.276 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.216, allocations: 7.094 kB / 1.276 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.216, allocations: 0.75 kB / 1.276 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/1.216, allocations: 0 / 1.276 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/1.216, allocations: 16 kB / 1.276 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/1.216, allocations: 5.125 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.525e-05/1.216, allocations: 9.297 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/1.216, allocations: 1.062 kB / 1.276 GB, free: 4.898 MB / 0.9981 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,intLesThr.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 6.702e-05/1.216, allocations: 116.5 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/1.216, allocations: 6.359 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/1.216, allocations: 5.547 kB / 1.276 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.216, allocations: 3.375 kB / 1.276 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.216, allocations: 0 / 1.276 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.216, allocations: 4.844 kB / 1.276 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/1.217, allocations: 179.8 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.217, allocations: 3.109 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-05/1.217, allocations: 15 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.217, allocations: 1 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/1.217, allocations: 1.094 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.217, allocations: 0 / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/1.217, allocations: 0 / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/1.217, allocations: 183.8 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/1.217, allocations: 83.39 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/1.217, allocations: 11.02 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/1.217, allocations: 6.875 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/1.217, allocations: 11.36 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/1.217, allocations: 2.359 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.246e-05/1.217, allocations: 87.36 kB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.217, allocations: 0 / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002175/1.217, allocations: 14.81 kB / 1.276 GB, free: 4.203 MB / 0.9981 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 (intLesThr.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.0001479/1.218, allocations: 98.94 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002749/1.218, allocations: 56.03 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.218, allocations: 0 / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/1.218, allocations: 34.72 kB / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/1.218, allocations: 6.75 kB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/1.219, allocations: 149 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/1.219, allocations: 0.68 MB / 1.277 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.892e-05/1.219, allocations: 6.031 kB / 1.277 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/1.219, allocations: 15.98 kB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.219, allocations: 3.938 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of Templates: time 0.00402/1.223, allocations: 0.9008 MB / 1.278 GB, free: 3.164 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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: 9.76464762724936]