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.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.001612/0.001612, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.001978/0.001978, allocations: 184.8 kB / 22.1 MB, free: 4.223 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.717/1.717, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.212/3.212, allocations: 495.8 MB / 0.783 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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 0.00201/0.00201, allocations: 67.89 kB / 1.137 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232/1.234, allocations: 173.6 MB / 1.307 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.003158/1.237, allocations: 0.7101 MB / 1.307 GB, free: 468 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00194/1.239, allocations: 0.8439 MB / 1.308 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/1.239, allocations: 0 / 1.308 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.703e-05/1.239, allocations: 0.5625 kB / 1.308 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/1.239, allocations: 9.781 kB / 1.308 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/1.239, allocations: 22.73 kB / 1.308 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001821/1.24, allocations: 45 kB / 1.308 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/1.24, allocations: 13.7 kB / 1.308 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/1.24, allocations: 22.77 kB / 1.308 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/1.24, allocations: 28.83 kB / 1.308 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/1.24, allocations: 4.031 kB / 1.308 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.265e-05/1.24, allocations: 3.719 kB / 1.308 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/1.24, allocations: 12.44 kB / 1.308 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/1.24, allocations: 21.12 kB / 1.308 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/1.24, allocations: 42.77 kB / 1.308 GB, free: 15.71 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.24, allocations: 1.438 kB / 1.308 GB, free: 15.71 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.556e-06/1.24, allocations: 0 / 1.308 GB, free: 15.71 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.246e-05/1.24, allocations: 0 / 1.308 GB, free: 15.71 MB / 1.014 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.0008404/1.241, allocations: 291.9 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.184e-05/1.241, allocations: 13.22 kB / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.84e-05/1.241, allocations: 7.656 kB / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/1.242, allocations: 116 kB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/1.242, allocations: 5.719 kB / 1.309 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/1.242, allocations: 2.625 kB / 1.309 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/1.242, allocations: 72.14 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/1.242, allocations: 1.25 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/1.242, allocations: 4 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/1.242, allocations: 1.312 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/1.242, allocations: 47.12 kB / 1.309 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/1.243, allocations: 262.4 kB / 1.309 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/1.243, allocations: 65 kB / 1.309 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/1.243, allocations: 31.8 kB / 1.309 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/1.243, allocations: 5.25 kB / 1.309 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/1.243, allocations: 31.12 kB / 1.309 GB, free: 14.87 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/1.243, allocations: 0.875 kB / 1.309 GB, free: 14.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004967/1.244, allocations: 109.8 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/1.244, allocations: 52.02 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/1.244, allocations: 111.4 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/1.244, allocations: 29.64 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/1.244, allocations: 95.89 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/1.244, allocations: 9.812 kB / 1.31 GB, free: 14.51 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/1.244, allocations: 20.12 kB / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.244, allocations: 317.6 kB / 1.31 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/1.244, allocations: 26.8 kB / 1.31 GB, free: 14.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/1.244, allocations: 23.31 kB / 1.31 GB, free: 14.16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/1.245, allocations: 57.41 kB / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.245, allocations: 0 / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002789/1.245, allocations: 83.86 kB / 1.31 GB, free: 14.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.245, allocations: 8.969 kB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.245, allocations: 1.25 kB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.245, allocations: 0.6094 kB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/1.245, allocations: 11.52 kB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.245, allocations: 1.031 kB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/1.245, allocations: 7.656 kB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/1.245, allocations: 1.688 kB / 1.31 GB, free: 14.09 MB / 1.014 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.00012/1.245, allocations: 121.9 kB / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/1.245, allocations: 5.125 kB / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.29e-05/1.245, allocations: 14.25 kB / 1.31 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.246, allocations: 5.078 kB / 1.31 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.246, allocations: 4.969 kB / 1.31 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.246, allocations: 0 / 1.31 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/1.246, allocations: 150.4 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.246, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-05/1.246, allocations: 12.62 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.246, allocations: 3.938 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/1.246, allocations: 1.812 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.246, allocations: 4 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/1.246, allocations: 1.906 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/1.246, allocations: 184.5 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/1.246, allocations: 5.234 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/1.246, allocations: 1.312 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/1.246, allocations: 6.484 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/1.246, allocations: 16.06 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/1.246, allocations: 5.797 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.571e-05/1.246, allocations: 88.28 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.246, allocations: 0 / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002259/1.247, allocations: 10.38 kB / 1.311 GB, free: 13.51 MB / 1.014 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.0001865/1.247, allocations: 95.11 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003114/1.247, allocations: 60 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.247, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/1.247, allocations: 38.27 kB / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/1.248, allocations: 9.625 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/1.248, allocations: 133.4 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/1.249, allocations: 0.6808 MB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.244e-05/1.249, allocations: 8.141 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/1.249, allocations: 13.7 kB / 1.312 GB, free: 12.56 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.249, allocations: 0 / 1.312 GB, free: 12.56 MB / 1.014 GB Notification: Performance of Templates: time 0.004382/1.253, allocations: 0.9073 MB / 1.313 GB, free: 12.48 MB / 1.014 GB " [Timeout remaining time 299] 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: 10.651940371841192]