Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0008425/0.0008425, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008737/0.0008737, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8927/0.8927, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.732/1.732, allocations: 377.8 MB / 0.6228 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.47e-05, allocations: 5.375 kB / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001265/0.00129, allocations: 0.713 MB / 0.9829 GB, free: 1.344 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.002579, allocations: 1.228 MB / 0.9841 GB, free: 104 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.475e-05/0.002634, allocations: 0 / 0.9841 GB, free: 104 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.002661, allocations: 7.938 kB / 0.9841 GB, free: 96 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.246e-05/0.002723, allocations: 3.938 kB / 0.9841 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.003142, allocations: 153 kB / 0.9842 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.003283, allocations: 115.7 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.003371, allocations: 15.98 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.897e-05/0.00347, allocations: 67.88 kB / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/0.003546, allocations: 31.95 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.003575, allocations: 12 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-05/0.003635, allocations: 27.97 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.003657, allocations: 11.94 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.003708, allocations: 35.95 kB / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.00388, allocations: 131.7 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.003882, allocations: 0 / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003883, allocations: 0 / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.003886, allocations: 7.781 kB / 0.9847 GB, free: 15.5 MB / 0.948 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.0004516/0.004338, allocations: 335.8 kB / 0.985 GB, free: 15.13 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.004372, allocations: 8.031 kB / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.896e-05/0.004461, allocations: 12.89 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.414e-05/0.004556, allocations: 117.7 kB / 0.9851 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.004569, allocations: 4.375 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.004585, allocations: 8.359 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.004724, allocations: 66.22 kB / 0.9852 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.00473, allocations: 192 / 0.9852 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.004739, allocations: 4.312 kB / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.004744, allocations: 4.375 kB / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.004844, allocations: 51.83 kB / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.00519, allocations: 244.5 kB / 0.9855 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/0.005289, allocations: 46.56 kB / 0.9855 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.00534, allocations: 28.92 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.005357, allocations: 0 / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.005497, allocations: 99.3 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.005498, allocations: 0 / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002733/0.005771, allocations: 133.8 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.005805, allocations: 55.41 kB / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.91e-05/0.005875, allocations: 117.8 kB / 0.986 GB, free: 14.04 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.005893, allocations: 25.7 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.005938, allocations: 96.03 kB / 0.9861 GB, free: 13.91 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.005956, allocations: 19.91 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.006006, allocations: 41.69 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.006082, allocations: 310.8 kB / 0.9864 GB, free: 13.53 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.006189, allocations: 81.66 kB / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.006292, allocations: 105.5 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.006442, allocations: 129 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006444, allocations: 4 kB / 0.9867 GB, free: 13.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002655/0.006709, allocations: 240.9 kB / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.006736, allocations: 33.64 kB / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.006743, allocations: 4 kB / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.006754, allocations: 0 / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.006817, allocations: 15.92 kB / 0.987 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.006823, allocations: 4.062 kB / 0.987 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.006923, allocations: 43.95 kB / 0.9871 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.006936, allocations: 8 kB / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 6.832e-05/0.007005, allocations: 117.8 kB / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.007015, allocations: 15.95 kB / 0.9872 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.007189, allocations: 118 kB / 0.9873 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.007191, allocations: 3.938 kB / 0.9873 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.007198, allocations: 8 kB / 0.9873 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.0072, allocations: 0 / 0.9873 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.007437, allocations: 302.1 kB / 0.9876 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007438, allocations: 0 / 0.9876 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.007468, allocations: 8 kB / 0.9876 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.007471, allocations: 3.984 kB / 0.9876 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.007479, allocations: 4 kB / 0.9876 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.007481, allocations: 0 / 0.9876 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.007481, allocations: 0 / 0.9876 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.007641, allocations: 211.3 kB / 0.9878 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.007649, allocations: 7.953 kB / 0.9878 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.007662, allocations: 0 / 0.9878 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.367e-05/0.007706, allocations: 7.984 kB / 0.9878 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.00774, allocations: 11.98 kB / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.007745, allocations: 0 / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.007777, allocations: 87.28 kB / 0.9879 GB, free: 11.85 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007777, allocations: 0 / 0.9879 GB, free: 11.85 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001762/0.007953, allocations: 27.92 kB / 0.988 GB, free: 11.82 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.698e-05/0.00805, allocations: 103.5 kB / 0.9881 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.008288, allocations: 189 kB / 0.9882 GB, free: 11.51 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008289, allocations: 0 / 0.9882 GB, free: 11.51 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.249e-05/0.008352, allocations: 39.84 kB / 0.9883 GB, free: 11.47 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.008541, allocations: 24.05 kB / 0.9883 GB, free: 11.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.008822, allocations: 170.6 kB / 0.9885 GB, free: 11.25 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.823e-05/0.00887, allocations: 71.58 kB / 0.9885 GB, free: 11.16 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.008896, allocations: 16.5 kB / 0.9886 GB, free: 11.14 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/0.008897, allocations: 0 / 0.9886 GB, free: 11.14 MB / 0.948 GB Notification: Performance of Templates: time 0.002114/0.01101, allocations: 1.229 MB / 0.9898 GB, free: 9.926 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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: 6.675389739684761]