Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0009572/0.0009572, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.0009842/0.0009842, allocations: 165 kB / 23.82 MB, free: 0.7383 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.9884/0.9884, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.857/1.857, allocations: 359 MB / 0.6052 GB, free: 10.97 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.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.684e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001279/0.001296, allocations: 0.7663 MB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.00242, allocations: 1.21 MB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.149e-05/0.002461, allocations: 3.938 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.002484, allocations: 7.922 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.771e-05/0.002551, allocations: 12.44 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.002883, allocations: 140.8 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.003006, allocations: 123.8 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.003088, allocations: 17.22 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.003177, allocations: 71.94 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.003241, allocations: 41.31 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.003258, allocations: 8 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.003311, allocations: 27.92 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.003334, allocations: 23.91 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.003376, allocations: 28.95 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.003699, allocations: 111.7 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003701, allocations: 0 / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003702, allocations: 0.75 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.866e-06/0.003704, allocations: 0 / 0.7896 GB, free: 9.898 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003636/0.004068, allocations: 444.5 kB / 0.79 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.004098, allocations: 8.031 kB / 0.79 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/0.004196, allocations: 20.83 kB / 0.7901 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.443e-05/0.00426, allocations: 116.5 kB / 0.7902 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.00427, allocations: 4.375 kB / 0.7902 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.004288, allocations: 12.38 kB / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.004389, allocations: 80.59 kB / 0.7903 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.004395, allocations: 192 / 0.7903 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.004404, allocations: 4.375 kB / 0.7903 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.00441, allocations: 4.125 kB / 0.7903 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.17e-05/0.004452, allocations: 16.52 kB / 0.7903 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.004766, allocations: 328.1 kB / 0.7906 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.176e-05/0.004838, allocations: 48.17 kB / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.004859, allocations: 15.62 kB / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.004874, allocations: 0.5 kB / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.091e-05/0.004954, allocations: 85.77 kB / 0.7907 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.004955, allocations: 0 / 0.7907 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001643/0.00512, allocations: 98.41 kB / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.005147, allocations: 55.41 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/0.005228, allocations: 179 kB / 0.7911 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.005244, allocations: 33.7 kB / 0.7911 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.0053, allocations: 138.8 kB / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.005319, allocations: 29.19 kB / 0.7912 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.005371, allocations: 43.36 kB / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.005486, allocations: 0.4961 MB / 0.7918 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/0.005552, allocations: 57.69 kB / 0.7918 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.395e-05/0.005646, allocations: 121.5 kB / 0.7919 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.005756, allocations: 129.1 kB / 0.7921 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005758, allocations: 0 / 0.7921 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002206/0.005978, allocations: 223.2 kB / 0.7923 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.006009, allocations: 35.11 kB / 0.7923 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.006012, allocations: 0 / 0.7923 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.006024, allocations: 4 kB / 0.7923 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.006096, allocations: 19.92 kB / 0.7923 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.0061, allocations: 2.906 kB / 0.7923 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.761e-05/0.006187, allocations: 31.92 kB / 0.7924 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.006201, allocations: 8 kB / 0.7924 GB, free: 6.773 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.641e-05/0.006287, allocations: 160.6 kB / 0.7925 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.006303, allocations: 20.41 kB / 0.7925 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.006443, allocations: 98.75 kB / 0.7926 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006445, allocations: 0 / 0.7926 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.006448, allocations: 0.5312 kB / 0.7926 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.006451, allocations: 0 / 0.7926 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.006648, allocations: 347 kB / 0.793 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.006649, allocations: 0 / 0.793 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.006675, allocations: 4 kB / 0.793 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006677, allocations: 0 / 0.793 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.006685, allocations: 8.906 kB / 0.793 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.006686, allocations: 0 / 0.793 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006686, allocations: 0 / 0.793 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.0068, allocations: 236.6 kB / 0.7932 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-06/0.00681, allocations: 15.88 kB / 0.7932 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.006819, allocations: 1.25 kB / 0.7932 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.403e-05/0.006853, allocations: 4 kB / 0.7932 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.006878, allocations: 11.98 kB / 0.7932 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.006882, allocations: 0.8438 kB / 0.7932 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.006923, allocations: 135.1 kB / 0.7934 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.006923, allocations: 1.312 kB / 0.7934 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001626/0.007085, allocations: 28 kB / 0.7934 GB, free: 5.656 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8e-05/0.007165, allocations: 104.4 kB / 0.7935 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001682/0.007334, allocations: 164.7 kB / 0.7937 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.61e-07/0.007335, allocations: 5.781 kB / 0.7937 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.53e-05/0.00737, allocations: 31.67 kB / 0.7937 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.007541, allocations: 21.64 kB / 0.7937 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.007916, allocations: 184.8 kB / 0.7939 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.007946, allocations: 59.36 kB / 0.7939 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.043e-05/0.007967, allocations: 8.484 kB / 0.794 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.007988, allocations: 16.5 kB / 0.794 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.007988, allocations: 1.875 kB / 0.794 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of Templates: time 0.002685/0.01067, allocations: 1.564 MB / 0.7955 GB, free: 3.488 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.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.204346824903041]