Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001457/0.001457, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001575/0.001575, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.532/1.532, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.205/3.205, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.437e-05/3.652e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00209/0.002126, allocations: 0.7025 MB / 0.8783 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.003537, allocations: 0.8526 MB / 0.8791 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.003592, allocations: 1.344 kB / 0.8791 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.003632, allocations: 3.938 kB / 0.8791 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.313e-05/0.003725, allocations: 9.031 kB / 0.8791 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.003916, allocations: 28.78 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.004031, allocations: 47.91 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.004145, allocations: 12.64 kB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.004247, allocations: 23.92 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.004335, allocations: 27.64 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.004361, allocations: 4 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.004373, allocations: 4 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.004395, allocations: 7.938 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.004433, allocations: 15.98 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.004561, allocations: 47.84 kB / 0.8794 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004563, allocations: 3.938 kB / 0.8794 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004565, allocations: 4 kB / 0.8794 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.004569, allocations: 0 / 0.8794 GB, free: 4.691 MB / 0.8386 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.0006229/0.005192, allocations: 288.1 kB / 0.8796 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.005237, allocations: 8.031 kB / 0.8796 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.005303, allocations: 4.938 kB / 0.8797 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.005463, allocations: 109.8 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.005482, allocations: 384 / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.005507, allocations: 13.33 kB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.005757, allocations: 66.22 kB / 0.8798 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.005769, allocations: 5.031 kB / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.005782, allocations: 0 / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.005788, allocations: 0 / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.006034, allocations: 57 kB / 0.8799 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.006557, allocations: 225.6 kB / 0.8801 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.006796, allocations: 66.47 kB / 0.8802 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.006915, allocations: 30.67 kB / 0.8802 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.006938, allocations: 6.438 kB / 0.8802 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.006979, allocations: 38.48 kB / 0.8802 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.00698, allocations: 0 / 0.8802 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0005011/0.007481, allocations: 105.6 kB / 0.8803 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.007538, allocations: 61.5 kB / 0.8804 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.007893, allocations: 105.8 kB / 0.8805 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.007918, allocations: 25.7 kB / 0.8805 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.007997, allocations: 92.08 kB / 0.8806 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.008019, allocations: 7.906 kB / 0.8806 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.00807, allocations: 21.7 kB / 0.8806 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.008259, allocations: 311.6 kB / 0.8809 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.008379, allocations: 29.62 kB / 0.881 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.008482, allocations: 23.92 kB / 0.881 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.008692, allocations: 57.25 kB / 0.881 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.008697, allocations: 5.125 kB / 0.8811 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002705/0.008967, allocations: 81.64 kB / 0.8811 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.008988, allocations: 9.594 kB / 0.8811 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.008993, allocations: 0 / 0.8811 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.009012, allocations: 0 / 0.8811 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.009153, allocations: 19.98 kB / 0.8812 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.009158, allocations: 0 / 0.8812 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.487e-05/0.009243, allocations: 11.94 kB / 0.8812 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.00925, allocations: 3.938 kB / 0.8812 GB, free: 2.684 MB / 0.8386 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 0.0001116/0.009362, allocations: 113.8 kB / 0.8813 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.453e-05/0.009396, allocations: 8 kB / 0.8813 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.009425, allocations: 8.312 kB / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.009428, allocations: 0 / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.009432, allocations: 0 / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.009436, allocations: 7.984 kB / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.009612, allocations: 117.3 kB / 0.8814 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.009616, allocations: 3.938 kB / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.826e-05/0.009714, allocations: 11.98 kB / 0.8814 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.009716, allocations: 0 / 0.8814 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.009728, allocations: 4 kB / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.009729, allocations: 0 / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00973, allocations: 0 / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.0101, allocations: 187.4 kB / 0.8816 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.01011, allocations: 3.938 kB / 0.8816 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.01013, allocations: 11.98 kB / 0.8816 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.01024, allocations: 4 kB / 0.8816 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.01031, allocations: 15.97 kB / 0.8816 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.01031, allocations: 0 / 0.8816 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.857e-05/0.01038, allocations: 87.59 kB / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01038, allocations: 0 / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002323/0.01062, allocations: 7.938 kB / 0.8817 GB, free: 2.047 MB / 0.8386 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.0001388/0.01075, allocations: 103.2 kB / 0.8818 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.01104, allocations: 51.95 kB / 0.8819 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.01104, allocations: 4 kB / 0.8819 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.01117, allocations: 31.91 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.01148, allocations: 17.98 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.01189, allocations: 128.7 kB / 0.8821 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.401e-05/0.01198, allocations: 71.2 kB / 0.8821 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.637e-05/0.01203, allocations: 8 kB / 0.8821 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.01209, allocations: 20.48 kB / 0.8822 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/0.01209, allocations: 0 / 0.8822 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of Templates: time 0.003913/0.016, allocations: 0.9676 MB / 0.8831 GB, free: 0.6133 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.307042247033678]