Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001422/0.001422, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001599/0.001599, allocations: 161 kB / 24.17 MB, free: 332 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.054/1.054, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.021/2.021, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.247e-05, allocations: 5.547 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001413/0.001435, allocations: 0.8066 MB / 0.7608 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.002659, allocations: 1.224 MB / 0.762 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.002705, allocations: 0 / 0.762 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.002734, allocations: 12.95 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.002811, allocations: 8.203 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.003185, allocations: 142.5 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.00334, allocations: 122.9 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.836e-05/0.003428, allocations: 24.14 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.003535, allocations: 72.45 kB / 0.7624 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.003612, allocations: 35.89 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.003633, allocations: 13.22 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.405e-05/0.003707, allocations: 31.91 kB / 0.7625 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.003728, allocations: 19.92 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.003766, allocations: 28.89 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.003903, allocations: 111.7 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003905, allocations: 1.156 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003906, allocations: 0 / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.003909, allocations: 0 / 0.7626 GB, free: 3.992 MB / 0.7136 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.0003466/0.004256, allocations: 311.2 kB / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.004291, allocations: 8.031 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.004383, allocations: 25.55 kB / 0.763 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.664e-05/0.00446, allocations: 121.7 kB / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.004471, allocations: 5 kB / 0.7631 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.004485, allocations: 12.36 kB / 0.7631 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.663e-05/0.004582, allocations: 76.42 kB / 0.7632 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.004589, allocations: 192 / 0.7632 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.004598, allocations: 8.375 kB / 0.7632 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.004605, allocations: 4.125 kB / 0.7632 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.665e-05/0.004631, allocations: 17.17 kB / 0.7632 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.004897, allocations: 188.2 kB / 0.7634 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.685e-05/0.004954, allocations: 31.83 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.004969, allocations: 12.89 kB / 0.7634 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.004982, allocations: 5.25 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.84e-05/0.00506, allocations: 71.3 kB / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.005061, allocations: 0 / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001187/0.00518, allocations: 76.81 kB / 0.7636 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.005216, allocations: 55.34 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.005283, allocations: 118.7 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.005302, allocations: 37.69 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.005338, allocations: 88.09 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.005356, allocations: 23.78 kB / 0.7639 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.005404, allocations: 41.67 kB / 0.7639 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.005475, allocations: 318.8 kB / 0.7642 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.891e-05/0.005524, allocations: 64.7 kB / 0.7643 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.635e-05/0.00558, allocations: 90.83 kB / 0.7644 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.001e-05/0.005661, allocations: 110.7 kB / 0.7645 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005662, allocations: 0 / 0.7645 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001374/0.0058, allocations: 174.3 kB / 0.7646 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.005826, allocations: 42.34 kB / 0.7647 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.005831, allocations: 4 kB / 0.7647 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.005842, allocations: 1.625 kB / 0.7647 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.005905, allocations: 15.98 kB / 0.7647 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.005909, allocations: 4 kB / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.489e-05/0.005984, allocations: 22.42 kB / 0.7647 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.005998, allocations: 7.984 kB / 0.7647 GB, free: 1.625 MB / 0.7136 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 5.965e-05/0.006058, allocations: 121.8 kB / 0.7648 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.006068, allocations: 11.94 kB / 0.7648 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.583e-05/0.006144, allocations: 66.09 kB / 0.7649 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.006147, allocations: 6.609 kB / 0.7649 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.006148, allocations: 0 / 0.7649 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.006151, allocations: 0 / 0.7649 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.006284, allocations: 211.2 kB / 0.7651 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.006285, allocations: 0 / 0.7651 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.006314, allocations: 11.92 kB / 0.7651 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006316, allocations: 4 kB / 0.7651 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.006321, allocations: 0.9062 kB / 0.7651 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.006322, allocations: 0 / 0.7651 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006323, allocations: 0 / 0.7651 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.885e-05/0.006402, allocations: 160.6 kB / 0.7653 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.006412, allocations: 19.83 kB / 0.7653 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.006421, allocations: 5.922 kB / 0.7653 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-05/0.006455, allocations: 4 kB / 0.7653 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.006482, allocations: 11.98 kB / 0.7653 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.006486, allocations: 0 / 0.7653 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.68e-05/0.006502, allocations: 20.83 kB / 0.7653 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006502, allocations: 0 / 0.7653 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001451/0.006648, allocations: 26.44 kB / 0.7654 GB, free: 0.9062 MB / 0.7136 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 8.522e-05/0.006733, allocations: 84.36 kB / 0.7655 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.006872, allocations: 153.8 kB / 0.7656 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.006875, allocations: 1.844 kB / 0.7656 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.006905, allocations: 28.78 kB / 0.7656 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.007037, allocations: 8.875 kB / 0.7656 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.007403, allocations: 186.1 kB / 0.7658 GB, free: 408 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.193e-05/0.007435, allocations: 60.56 kB / 0.7659 GB, free: 328 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.134e-05/0.007457, allocations: 4 kB / 0.7659 GB, free: 324 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/0.007529, allocations: 67.92 kB / 0.7659 GB, free: 256 kB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/0.00753, allocations: 0.75 kB / 0.7659 GB, free: 256 kB / 0.7136 GB Notification: Performance of Templates: time 0.002973/0.0105, allocations: 1.639 MB / 0.7675 GB, free: 14.7 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.209187398198992]