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.001544/0.001544, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001856/0.001856, allocations: 165 kB / 23.82 MB, free: 0.75 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.059/1.059, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.913/1.913, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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.505e-06/2.505e-06, allocations: 0 / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/3.027e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001614/0.001644, allocations: 0.7379 MB / 0.8122 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.003032, allocations: 1.246 MB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.003091, allocations: 4 kB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.003127, allocations: 3.938 kB / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.857e-05/0.003205, allocations: 9.344 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.003723, allocations: 145.3 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.003884, allocations: 119.7 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.003987, allocations: 11.92 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.004101, allocations: 67.88 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.5e-05/0.004186, allocations: 35.89 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.00421, allocations: 13.72 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.061e-05/0.004281, allocations: 31.97 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.004304, allocations: 15.86 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.00436, allocations: 31.97 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.004539, allocations: 101.1 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.004543, allocations: 0 / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.372e-06/0.004544, allocations: 0 / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.004549, allocations: 0 / 0.814 GB, free: 15.21 MB / 0.7761 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.0005054/0.005054, allocations: 423.8 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.005095, allocations: 12.03 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.005215, allocations: 16.83 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.087e-05/0.005305, allocations: 120.5 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.005326, allocations: 6.719 kB / 0.8146 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.005345, allocations: 8.359 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.005486, allocations: 74.86 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.005497, allocations: 192 / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.005507, allocations: 384 / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.005515, allocations: 384 / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.862e-05/0.005554, allocations: 20.64 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.005952, allocations: 308.1 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.841e-05/0.00604, allocations: 40.7 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.006067, allocations: 15.77 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.006089, allocations: 4 kB / 0.815 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.006199, allocations: 84.89 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.532e-06/0.006201, allocations: 0.6562 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002134/0.006414, allocations: 91.02 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.006447, allocations: 55.41 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/0.006532, allocations: 169.9 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.006553, allocations: 33.7 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.006608, allocations: 140 kB / 0.8156 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.006626, allocations: 11.91 kB / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.006682, allocations: 43.36 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.0068, allocations: 0.4936 MB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.006878, allocations: 57.62 kB / 0.8162 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.082e-05/0.006968, allocations: 100.4 kB / 0.8163 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.007077, allocations: 109.5 kB / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007079, allocations: 0 / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002198/0.007299, allocations: 197.9 kB / 0.8165 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.007332, allocations: 41.69 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.007338, allocations: 4.844 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.007357, allocations: 4 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.007444, allocations: 16.77 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.007451, allocations: 0 / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.014e-05/0.007542, allocations: 29.59 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.007558, allocations: 11.98 kB / 0.8166 GB, free: 12.24 MB / 0.7761 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 8.085e-05/0.007638, allocations: 168.3 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.007653, allocations: 7.938 kB / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.007807, allocations: 89.97 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.007811, allocations: 6.25 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.007814, allocations: 0 / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.007819, allocations: 3.984 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.008021, allocations: 317.4 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008022, allocations: 4 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/0.00806, allocations: 6.094 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.008062, allocations: 0 / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.008071, allocations: 4 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.008074, allocations: 4 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.008075, allocations: 0 / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.00821, allocations: 227.8 kB / 0.8174 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.00822, allocations: 8.453 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.008238, allocations: 4.516 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-05/0.008279, allocations: 8 kB / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.008316, allocations: 5.891 kB / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.008323, allocations: 4 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.713e-05/0.00837, allocations: 135.2 kB / 0.8176 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.00837, allocations: 0 / 0.8176 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000185/0.008556, allocations: 16 kB / 0.8176 GB, free: 11.18 MB / 0.7761 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 0.0001311/0.008687, allocations: 108.5 kB / 0.8177 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.008883, allocations: 161.2 kB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008885, allocations: 3.5 kB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.00893, allocations: 27.62 kB / 0.8179 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.009145, allocations: 15.92 kB / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.009647, allocations: 162.9 kB / 0.8181 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.651e-05/0.009694, allocations: 59.22 kB / 0.8181 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.009719, allocations: 10.36 kB / 0.8181 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.009746, allocations: 12.5 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of SimCode: time 7.81e-07/0.009747, allocations: 0 / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of Templates: time 0.003474/0.01322, allocations: 1.554 MB / 0.8197 GB, free: 9.059 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.346382403746247]