Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.001533/0.001533, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001757/0.001757, allocations: 168.3 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.881/2.881, allocations: 377.8 MB / 0.6221 GB, free: 12.58 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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.377e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001946/0.00198, allocations: 0.6903 MB / 0.9821 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003154, allocations: 0.8665 MB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.003197, allocations: 0 / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.003231, allocations: 3.938 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.783e-05/0.003309, allocations: 3.938 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.003478, allocations: 19.92 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.00359, allocations: 51.83 kB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.003707, allocations: 11.98 kB / 0.983 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.003807, allocations: 27.92 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.003876, allocations: 23.91 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.003909, allocations: 8 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.003921, allocations: 4 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.003945, allocations: 11.98 kB / 0.9831 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.003972, allocations: 7.984 kB / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.004087, allocations: 55.78 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.004091, allocations: 0 / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004092, allocations: 0 / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.004101, allocations: 0 / 0.9832 GB, free: 10.13 MB / 0.9356 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.0005625/0.004663, allocations: 282.2 kB / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.004708, allocations: 12.02 kB / 0.9835 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.004743, allocations: 12.89 kB / 0.9835 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.004911, allocations: 109.8 kB / 0.9836 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.004927, allocations: 4.375 kB / 0.9836 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.004946, allocations: 8.359 kB / 0.9836 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.005166, allocations: 70.14 kB / 0.9837 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.005176, allocations: 3.938 kB / 0.9837 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.005189, allocations: 4 kB / 0.9837 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.005194, allocations: 0 / 0.9837 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.005417, allocations: 51.95 kB / 0.9837 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.005855, allocations: 228.4 kB / 0.9839 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.006078, allocations: 66.42 kB / 0.984 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.006198, allocations: 32.91 kB / 0.984 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.006213, allocations: 0 / 0.984 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.00624, allocations: 34.56 kB / 0.9841 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.006241, allocations: 0 / 0.9841 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004772/0.006718, allocations: 105.6 kB / 0.9842 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.006769, allocations: 55.41 kB / 0.9842 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.006874, allocations: 109.8 kB / 0.9843 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.006895, allocations: 25.7 kB / 0.9843 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.006959, allocations: 100 kB / 0.9844 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.006978, allocations: 3.953 kB / 0.9844 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.00702, allocations: 17.72 kB / 0.9845 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.007172, allocations: 318.8 kB / 0.9848 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.007283, allocations: 23.98 kB / 0.9848 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.996e-05/0.007383, allocations: 31.97 kB / 0.9848 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.007588, allocations: 48.81 kB / 0.9849 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.007592, allocations: 3.938 kB / 0.9849 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002613/0.007853, allocations: 85.59 kB / 0.9849 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.007867, allocations: 4 kB / 0.985 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.007871, allocations: 7.938 kB / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.007888, allocations: 4 kB / 0.985 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.008013, allocations: 11.98 kB / 0.985 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.008019, allocations: 0 / 0.985 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.0081, allocations: 11.98 kB / 0.985 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.008107, allocations: 0 / 0.985 GB, free: 8.109 MB / 0.9356 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,intGreEquThr.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.65e-05/0.008204, allocations: 117.7 kB / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.008229, allocations: 0 / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.008258, allocations: 12.33 kB / 0.9851 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.008259, allocations: 0 / 0.9851 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.008264, allocations: 0 / 0.9851 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.008269, allocations: 7.984 kB / 0.9851 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.008438, allocations: 121.3 kB / 0.9852 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.008444, allocations: 15.86 kB / 0.9852 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.763e-05/0.008532, allocations: 7.984 kB / 0.9853 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.008534, allocations: 4 kB / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.008543, allocations: 0 / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008544, allocations: 0 / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008545, allocations: 0 / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.008949, allocations: 179.4 kB / 0.9854 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.008966, allocations: 11.94 kB / 0.9854 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.008982, allocations: 0 / 0.9854 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.009093, allocations: 7.984 kB / 0.9855 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.009154, allocations: 11.98 kB / 0.9855 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.009159, allocations: 0 / 0.9855 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.803e-05/0.009217, allocations: 91.27 kB / 0.9855 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009217, allocations: 0 / 0.9855 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002314/0.009449, allocations: 15.89 kB / 0.9856 GB, free: 7.461 MB / 0.9356 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 (intGreEquThr.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.0001265/0.009575, allocations: 99.25 kB / 0.9857 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.009841, allocations: 55.89 kB / 0.9857 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009842, allocations: 0 / 0.9857 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.009962, allocations: 31.97 kB / 0.9857 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.01026, allocations: 10.28 kB / 0.9858 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.01062, allocations: 128.8 kB / 0.9859 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.998e-05/0.01069, allocations: 71.28 kB / 0.9859 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.715e-05/0.01073, allocations: 4.25 kB / 0.9859 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.01078, allocations: 16.48 kB / 0.986 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/0.01078, allocations: 0 / 0.986 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of Templates: time 0.003897/0.01468, allocations: 0.9597 MB / 0.9869 GB, free: 6.047 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.215848308056593]