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.001558/0.001558, allocations: 80.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00162/0.00162, allocations: 164.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.59/1.59, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 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.946/2.946, allocations: 377.8 MB / 0.6221 GB, free: 12.63 MB / 0.5919 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 1.893e-06/1.893e-06, allocations: 0 / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.474e-05, allocations: 5.516 kB / 0.9815 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001673/0.001697, allocations: 0.6942 MB / 0.9821 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.002835, allocations: 0.8548 MB / 0.983 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.00286, allocations: 3.938 kB / 0.983 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.00288, allocations: 3.938 kB / 0.983 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.887e-05/0.002918, allocations: 7.938 kB / 0.983 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 8.571e-05/0.003004, allocations: 19.97 kB / 0.983 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.036e-05/0.003075, allocations: 47.91 kB / 0.983 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.785e-05/0.003142, allocations: 15.92 kB / 0.9831 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.162e-05/0.003204, allocations: 35.91 kB / 0.9831 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.00326, allocations: 15.98 kB / 0.9831 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.003287, allocations: 4 kB / 0.9831 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.003299, allocations: 7.938 kB / 0.9831 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.00332, allocations: 11.92 kB / 0.9831 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.003364, allocations: 15.97 kB / 0.9831 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.003475, allocations: 47.86 kB / 0.9832 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.003478, allocations: 0 / 0.9832 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003478, allocations: 4 kB / 0.9832 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.003485, allocations: 0 / 0.9832 GB, free: 9.129 MB / 0.8887 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.0005495/0.004035, allocations: 274.2 kB / 0.9835 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.004078, allocations: 16.02 kB / 0.9835 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.004109, allocations: 0.9375 kB / 0.9835 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.004271, allocations: 121.7 kB / 0.9836 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.004288, allocations: 8.375 kB / 0.9836 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.004303, allocations: 384 / 0.9836 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.004513, allocations: 69.97 kB / 0.9837 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004521, allocations: 7.875 kB / 0.9837 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.004533, allocations: 4 kB / 0.9837 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.004537, allocations: 0 / 0.9837 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.004773, allocations: 59.94 kB / 0.9837 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.00519, allocations: 224.5 kB / 0.9839 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.0054, allocations: 58.48 kB / 0.984 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.005521, allocations: 36.91 kB / 0.984 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.005535, allocations: 0 / 0.984 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.005566, allocations: 34.5 kB / 0.9841 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 2.876e-06/0.005569, allocations: 4 kB / 0.9841 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004528/0.006021, allocations: 105.6 kB / 0.9842 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.006058, allocations: 51.41 kB / 0.9842 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.006159, allocations: 109.8 kB / 0.9843 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.006179, allocations: 25.7 kB / 0.9844 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.006236, allocations: 96.02 kB / 0.9844 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.006257, allocations: 11.97 kB / 0.9845 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.0063, allocations: 17.72 kB / 0.9845 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.006461, allocations: 314.8 kB / 0.9848 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.006571, allocations: 27.98 kB / 0.9848 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.006672, allocations: 23.97 kB / 0.9848 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.006874, allocations: 56.75 kB / 0.9849 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006875, allocations: 0 / 0.9849 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002782/0.007154, allocations: 85.92 kB / 0.985 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.007166, allocations: 8 kB / 0.985 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.00717, allocations: 0 / 0.985 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.007185, allocations: 0 / 0.985 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.007297, allocations: 15.97 kB / 0.985 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.0073, allocations: 0 / 0.985 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.927e-05/0.00738, allocations: 15.92 kB / 0.985 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.007386, allocations: 4 kB / 0.985 GB, free: 7.105 MB / 0.8887 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 9.218e-05/0.007479, allocations: 117.8 kB / 0.9851 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.007505, allocations: 0 / 0.9851 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.007528, allocations: 4 kB / 0.9851 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.007529, allocations: 4 kB / 0.9851 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.007533, allocations: 4 kB / 0.9851 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.007535, allocations: 0 / 0.9851 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.007699, allocations: 121.2 kB / 0.9852 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.007702, allocations: 3.984 kB / 0.9852 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.991e-05/0.007792, allocations: 11.98 kB / 0.9853 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.007794, allocations: 0 / 0.9853 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.007802, allocations: 0 / 0.9853 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007803, allocations: 3.938 kB / 0.9853 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007804, allocations: 7.938 kB / 0.9853 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.008125, allocations: 191.3 kB / 0.9854 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.008133, allocations: 0 / 0.9854 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.00815, allocations: 4 kB / 0.9855 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.008258, allocations: 11.98 kB / 0.9855 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.008314, allocations: 11.98 kB / 0.9855 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.008319, allocations: 0 / 0.9855 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 5.539e-05/0.008375, allocations: 91.56 kB / 0.9856 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008375, allocations: 0 / 0.9856 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002217/0.008597, allocations: 8 kB / 0.9856 GB, free: 6.461 MB / 0.8887 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.0001179/0.008715, allocations: 103.2 kB / 0.9857 GB, free: 6.352 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.008974, allocations: 51.95 kB / 0.9857 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008976, allocations: 3.938 kB / 0.9857 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.009097, allocations: 27.97 kB / 0.9857 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.009389, allocations: 11.94 kB / 0.9858 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.009743, allocations: 132.8 kB / 0.9859 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.356e-05/0.009807, allocations: 67.3 kB / 0.986 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 4.14e-05/0.009848, allocations: 7.984 kB / 0.986 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.009893, allocations: 12.5 kB / 0.986 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of SimCode: time 4.41e-07/0.009894, allocations: 0 / 0.986 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of Templates: time 0.003608/0.0135, allocations: 0.9464 MB / 0.9869 GB, free: 5.062 MB / 0.8887 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.468186397105455]