Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001232/0.001232, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.00177/0.00177, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.079/1.079, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.876/1.876, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.66e-06/5.66e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.071e-05/5.637e-05, allocations: 3.406 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.003525/0.003581, allocations: 0.7289 MB / 0.7878 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002723/0.006304, allocations: 1.244 MB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.006427, allocations: 4 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.698e-05/0.006474, allocations: 3.938 kB / 0.789 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.006605, allocations: 12.38 kB / 0.789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.007608, allocations: 141.6 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.007923, allocations: 115.8 kB / 0.7893 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.008186, allocations: 19.91 kB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.008402, allocations: 61.02 kB / 0.7893 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.008533, allocations: 39.88 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.008573, allocations: 12 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.008684, allocations: 21.55 kB / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.008719, allocations: 15.92 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.008793, allocations: 31.97 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.009055, allocations: 103.7 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.009061, allocations: 5.906 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.824e-06/0.009063, allocations: 0 / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.00907, allocations: 0 / 0.7896 GB, free: 10.25 MB / 0.7448 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.0006824/0.009752, allocations: 422.2 kB / 0.79 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.009803, allocations: 8.031 kB / 0.79 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.009988, allocations: 27.12 kB / 0.79 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.01011, allocations: 120.5 kB / 0.7901 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.01013, allocations: 4.375 kB / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.01016, allocations: 12.38 kB / 0.7901 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.01036, allocations: 62.92 kB / 0.7902 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.01037, allocations: 192 / 0.7902 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.01038, allocations: 5 kB / 0.7902 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.01039, allocations: 6.031 kB / 0.7902 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.141e-05/0.01045, allocations: 7.938 kB / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.01098, allocations: 311.6 kB / 0.7905 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.0111, allocations: 39.86 kB / 0.7905 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.01113, allocations: 23.75 kB / 0.7906 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.01115, allocations: 0.7188 kB / 0.7906 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.01131, allocations: 80.88 kB / 0.7907 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.175e-06/0.01131, allocations: 1.438 kB / 0.7907 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002692/0.01158, allocations: 89.66 kB / 0.7907 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.01163, allocations: 55.39 kB / 0.7908 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.01174, allocations: 180.2 kB / 0.791 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.01177, allocations: 25.7 kB / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.01184, allocations: 134.9 kB / 0.7911 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.01187, allocations: 27.89 kB / 0.7911 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.01194, allocations: 39.36 kB / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.01209, allocations: 0.4884 MB / 0.7917 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.01321, allocations: 65.61 kB / 0.7917 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.37e-05/0.01329, allocations: 101.1 kB / 0.7918 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.0134, allocations: 106.6 kB / 0.7919 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.0134, allocations: 0 / 0.7919 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002282/0.01363, allocations: 200.9 kB / 0.7921 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.01367, allocations: 37.69 kB / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.01367, allocations: 0.6562 kB / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.01369, allocations: 1.312 kB / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.01379, allocations: 12 kB / 0.7922 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.0138, allocations: 7.938 kB / 0.7922 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-05/0.01389, allocations: 33.02 kB / 0.7922 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.0139, allocations: 4 kB / 0.7922 GB, free: 7.281 MB / 0.7448 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.089e-05/0.01398, allocations: 165.9 kB / 0.7924 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.014, allocations: 7.938 kB / 0.7924 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.01414, allocations: 82.11 kB / 0.7924 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01414, allocations: 1.75 kB / 0.7924 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01415, allocations: 0 / 0.7924 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01415, allocations: 7.938 kB / 0.7925 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.01446, allocations: 329.4 kB / 0.7928 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01447, allocations: 0 / 0.7928 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.01451, allocations: 12.89 kB / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01452, allocations: 0 / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.01453, allocations: 0.8438 kB / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01453, allocations: 0 / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01453, allocations: 0 / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.01467, allocations: 229.1 kB / 0.793 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.01468, allocations: 7.953 kB / 0.793 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.0147, allocations: 4 kB / 0.793 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.01474, allocations: 4.703 kB / 0.793 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.01478, allocations: 4 kB / 0.793 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.01479, allocations: 12.8 kB / 0.793 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.01484, allocations: 127.2 kB / 0.7932 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01484, allocations: 1.562 kB / 0.7932 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000188/0.01502, allocations: 24 kB / 0.7932 GB, free: 6.215 MB / 0.7448 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.000162/0.01519, allocations: 111.2 kB / 0.7933 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.01539, allocations: 161.7 kB / 0.7934 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.0154, allocations: 0 / 0.7934 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.01544, allocations: 30.92 kB / 0.7935 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.01567, allocations: 23.97 kB / 0.7935 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.01624, allocations: 154.1 kB / 0.7936 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.01628, allocations: 63.34 kB / 0.7937 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.01631, allocations: 6.438 kB / 0.7937 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.01634, allocations: 12.5 kB / 0.7937 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of SimCode: time 1.282e-06/0.01634, allocations: 0 / 0.7937 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of Templates: time 0.003682/0.02003, allocations: 1.532 MB / 0.7952 GB, free: 4.105 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.490762756206095]