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.001006/0.001006, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001022/0.001022, allocations: 161 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 0.9328/0.9328, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.791/1.791, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] 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 2.685e-06/2.685e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.175e-05, allocations: 4 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001447/0.001479, allocations: 0.7442 MB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.002755, allocations: 1.242 MB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.002807, allocations: 0 / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.002842, allocations: 7.922 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.00293, allocations: 11.88 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.003413, allocations: 145 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.003566, allocations: 119.7 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.003663, allocations: 8.688 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.003771, allocations: 72.78 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.046e-05/0.003851, allocations: 35.94 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.003882, allocations: 8 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-05/0.003947, allocations: 34.34 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.00397, allocations: 11.94 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.004022, allocations: 35.95 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.004176, allocations: 95.75 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.00418, allocations: 0 / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.61e-07/0.004181, allocations: 0 / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.004188, allocations: 4 kB / 0.7896 GB, free: 9.922 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.0005716/0.004759, allocations: 424 kB / 0.79 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.004815, allocations: 8.031 kB / 0.79 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.005002, allocations: 16.83 kB / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.005136, allocations: 124.5 kB / 0.7901 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.005158, allocations: 4.906 kB / 0.7901 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.005177, allocations: 8.938 kB / 0.7901 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.005386, allocations: 66.92 kB / 0.7902 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.005398, allocations: 0.6875 kB / 0.7902 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.005411, allocations: 1.25 kB / 0.7902 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.005425, allocations: 4.125 kB / 0.7902 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.354e-05/0.005468, allocations: 21.08 kB / 0.7902 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.005883, allocations: 299.7 kB / 0.7905 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.998e-05/0.005973, allocations: 44.42 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.005997, allocations: 11.69 kB / 0.7906 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.006013, allocations: 3.938 kB / 0.7906 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.006114, allocations: 86.7 kB / 0.7907 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.006116, allocations: 0 / 0.7907 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002119/0.006328, allocations: 97.72 kB / 0.7908 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.006365, allocations: 51.41 kB / 0.7908 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.677e-05/0.006452, allocations: 182.9 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.00647, allocations: 29.7 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.006523, allocations: 134.9 kB / 0.7911 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.00654, allocations: 12.41 kB / 0.7911 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.00659, allocations: 47.34 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.006697, allocations: 0.4889 MB / 0.7917 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.889e-05/0.006775, allocations: 63.61 kB / 0.7917 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.006847, allocations: 92.42 kB / 0.7918 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.914e-05/0.006947, allocations: 112.4 kB / 0.7919 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.00695, allocations: 4 kB / 0.7919 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002168/0.007167, allocations: 199.6 kB / 0.7921 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.007203, allocations: 33.7 kB / 0.7921 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.00721, allocations: 7.984 kB / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.007225, allocations: 3.984 kB / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.696e-05/0.007312, allocations: 11.94 kB / 0.7922 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.007318, allocations: 0.7188 kB / 0.7922 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.72e-05/0.007405, allocations: 32.39 kB / 0.7922 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.007421, allocations: 13.66 kB / 0.7922 GB, free: 6.957 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.572e-05/0.007507, allocations: 160.6 kB / 0.7924 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.007521, allocations: 11.92 kB / 0.7924 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.007665, allocations: 90.03 kB / 0.7925 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.007668, allocations: 0.8438 kB / 0.7925 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.007672, allocations: 0 / 0.7925 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007675, allocations: 0.8438 kB / 0.7925 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.007881, allocations: 317.4 kB / 0.7928 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.007883, allocations: 1.281 kB / 0.7928 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.007923, allocations: 7.984 kB / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.007926, allocations: 0 / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.007937, allocations: 16.72 kB / 0.7928 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.007938, allocations: 0 / 0.7928 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.00794, allocations: 0 / 0.7928 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.008171, allocations: 233 kB / 0.793 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.008179, allocations: 3.953 kB / 0.793 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.008196, allocations: 0 / 0.793 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.762e-05/0.008234, allocations: 9.375 kB / 0.793 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.008275, allocations: 7.984 kB / 0.793 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.008281, allocations: 0 / 0.793 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.00832, allocations: 135.2 kB / 0.7932 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00832, allocations: 1.5 kB / 0.7932 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001638/0.008484, allocations: 20 kB / 0.7932 GB, free: 5.895 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.0001549/0.008639, allocations: 114 kB / 0.7933 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.008834, allocations: 152.8 kB / 0.7934 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.008836, allocations: 0 / 0.7934 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.858e-05/0.008875, allocations: 35.61 kB / 0.7935 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.009082, allocations: 13.48 kB / 0.7935 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.009606, allocations: 168.3 kB / 0.7936 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.983e-05/0.009645, allocations: 59.34 kB / 0.7937 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.85e-05/0.009674, allocations: 5.75 kB / 0.7937 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.009705, allocations: 12.5 kB / 0.7937 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/0.009705, allocations: 0 / 0.7937 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of Templates: time 0.00705/0.01675, allocations: 1.675 MB / 0.7954 GB, free: 3.652 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.043631077744067]