Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001897/0.001897, allocations: 88.72 kB / 19.44 MB, free: 356 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.002281/0.002281, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.242/3.242, allocations: 429.6 MB / 0.673 GB, free: 3.934 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.777e-06/3.777e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.541e-05/3.918e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.003243/0.003282, allocations: 0.7086 MB / 0.8783 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.005168, allocations: 0.8559 MB / 0.8791 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.005222, allocations: 5.719 kB / 0.8791 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.005259, allocations: 0 / 0.8791 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.196e-05/0.005351, allocations: 3.938 kB / 0.8791 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.005567, allocations: 27.86 kB / 0.8792 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.0057, allocations: 48.92 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.005839, allocations: 4 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.005979, allocations: 31.91 kB / 0.8793 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.894e-05/0.006068, allocations: 21.09 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.006099, allocations: 4 kB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.006117, allocations: 4 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.754e-05/0.006154, allocations: 16.95 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.006201, allocations: 8 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.006376, allocations: 52.97 kB / 0.8794 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.006384, allocations: 3.984 kB / 0.8794 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.353e-06/0.006386, allocations: 0 / 0.8794 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.006392, allocations: 0.9688 kB / 0.8794 GB, free: 4.723 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.0008052/0.007197, allocations: 278.2 kB / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.007254, allocations: 8.531 kB / 0.8796 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.657e-05/0.00733, allocations: 10.8 kB / 0.8796 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.007547, allocations: 117.7 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.007574, allocations: 4.375 kB / 0.8798 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.007592, allocations: 384 / 0.8798 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.007924, allocations: 66.22 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.007938, allocations: 5.281 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.007958, allocations: 4 kB / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.007964, allocations: 0 / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.008305, allocations: 53.03 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006436/0.008948, allocations: 229.1 kB / 0.8801 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.009257, allocations: 64.08 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.009442, allocations: 33.66 kB / 0.8802 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.009467, allocations: 0 / 0.8802 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.009515, allocations: 36.97 kB / 0.8802 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.009516, allocations: 0 / 0.8802 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0006911/0.01021, allocations: 117.7 kB / 0.8803 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.01027, allocations: 55.41 kB / 0.8804 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.01043, allocations: 107.9 kB / 0.8805 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.01047, allocations: 29.7 kB / 0.8805 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.01058, allocations: 92.06 kB / 0.8806 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.01061, allocations: 11.91 kB / 0.8806 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.157e-05/0.01068, allocations: 13.72 kB / 0.8806 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002574/0.01094, allocations: 318.8 kB / 0.8809 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.01111, allocations: 24.7 kB / 0.881 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.01125, allocations: 25.62 kB / 0.881 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.01157, allocations: 52.75 kB / 0.881 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.01157, allocations: 5.125 kB / 0.881 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004134/0.01199, allocations: 85.66 kB / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.01201, allocations: 11.98 kB / 0.8811 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.01202, allocations: 0 / 0.8811 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.01204, allocations: 0 / 0.8811 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.01222, allocations: 11.98 kB / 0.8811 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.01223, allocations: 0 / 0.8811 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.01235, allocations: 11.95 kB / 0.8812 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.01237, allocations: 3.984 kB / 0.8812 GB, free: 2.715 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,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.0001467/0.01252, allocations: 117.8 kB / 0.8813 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.01257, allocations: 8 kB / 0.8813 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.01261, allocations: 8 kB / 0.8813 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01261, allocations: 0 / 0.8813 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01262, allocations: 3.938 kB / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01262, allocations: 0 / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.01288, allocations: 113.3 kB / 0.8814 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.01288, allocations: 3.938 kB / 0.8814 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.01302, allocations: 15.98 kB / 0.8814 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.01303, allocations: 3.984 kB / 0.8814 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.01304, allocations: 0 / 0.8814 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01304, allocations: 3.938 kB / 0.8814 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01304, allocations: 4 kB / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.01355, allocations: 183.5 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.853e-05/0.01357, allocations: 3.938 kB / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.01359, allocations: 4 kB / 0.8816 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.01375, allocations: 7.984 kB / 0.8816 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.01384, allocations: 7.984 kB / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.01384, allocations: 4 kB / 0.8816 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.86e-05/0.01393, allocations: 91.28 kB / 0.8817 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01393, allocations: 4 kB / 0.8817 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004062/0.01434, allocations: 11.94 kB / 0.8817 GB, free: 2.07 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 (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.0001868/0.01453, allocations: 95.25 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003861/0.01491, allocations: 52.14 kB / 0.8819 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.01491, allocations: 0 / 0.8819 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.0151, allocations: 31.97 kB / 0.8819 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.01561, allocations: 28.52 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.01619, allocations: 128.7 kB / 0.8821 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.0163, allocations: 67.2 kB / 0.8821 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.379e-05/0.01636, allocations: 7.984 kB / 0.8821 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/0.01644, allocations: 12.5 kB / 0.8821 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/0.01645, allocations: 4 kB / 0.8821 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of Templates: time 0.005706/0.02215, allocations: 0.98 MB / 0.8831 GB, free: 0.6289 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.363013510010205]