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.0009505/0.0009505, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001891/0.001891, allocations: 181.3 kB / 24.09 MB, free: 416 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 0.9375/0.9375, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.744/1.744, allocations: 359 MB / 0.6055 GB, free: 10.87 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 2.435e-06/2.435e-06, allocations: 0.6562 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.069e-05, allocations: 6.312 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.00198/0.00201, allocations: 0.7559 MB / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.003627, allocations: 1.21 MB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.0037, allocations: 4.844 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.003737, allocations: 7.875 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.003838, allocations: 8.547 kB / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.004421, allocations: 141 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.004606, allocations: 123.7 kB / 0.7897 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.004711, allocations: 29.19 kB / 0.7898 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.004842, allocations: 59.95 kB / 0.7898 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.007e-05/0.004932, allocations: 43.86 kB / 0.7899 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.004958, allocations: 13.19 kB / 0.7899 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.819e-05/0.005037, allocations: 31.92 kB / 0.7899 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.005061, allocations: 15.92 kB / 0.7899 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.005109, allocations: 33.22 kB / 0.79 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.005284, allocations: 115.7 kB / 0.7901 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.005287, allocations: 0 / 0.7901 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005288, allocations: 1.531 kB / 0.7901 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.005292, allocations: 0 / 0.7901 GB, free: 9.625 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.0004678/0.00576, allocations: 434.1 kB / 0.7905 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.005803, allocations: 12.03 kB / 0.7905 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.005911, allocations: 21.88 kB / 0.7905 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.376e-05/0.005995, allocations: 116.5 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.006012, allocations: 8.375 kB / 0.7906 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.006029, allocations: 9.406 kB / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.006159, allocations: 74.86 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.006166, allocations: 1.781 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.006173, allocations: 384 / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.006181, allocations: 4.125 kB / 0.7907 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.006212, allocations: 11.98 kB / 0.7907 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.006593, allocations: 301.5 kB / 0.791 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.006676, allocations: 51.03 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.006695, allocations: 14.56 kB / 0.7911 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.006717, allocations: 3.984 kB / 0.7911 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.00683, allocations: 77.09 kB / 0.7912 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.006832, allocations: 0 / 0.7912 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001915/0.007023, allocations: 97.66 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.007057, allocations: 55.39 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.007152, allocations: 177.8 kB / 0.7915 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.007174, allocations: 34.42 kB / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.007237, allocations: 138.8 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.007261, allocations: 25.48 kB / 0.7917 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.007328, allocations: 43.34 kB / 0.7917 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.007467, allocations: 0.4884 MB / 0.7922 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/0.007545, allocations: 61.67 kB / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-05/0.007634, allocations: 109.5 kB / 0.7923 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.007754, allocations: 132.9 kB / 0.7925 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007756, allocations: 0 / 0.7925 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002493/0.008006, allocations: 202.5 kB / 0.7927 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.008041, allocations: 37.69 kB / 0.7927 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.00805, allocations: 4 kB / 0.7927 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.008063, allocations: 5.719 kB / 0.7927 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.008145, allocations: 15.94 kB / 0.7927 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.00815, allocations: 4.312 kB / 0.7927 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.008262, allocations: 36.73 kB / 0.7928 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.008277, allocations: 4 kB / 0.7928 GB, free: 6.582 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 9.643e-05/0.008373, allocations: 169.8 kB / 0.7929 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.008392, allocations: 15.92 kB / 0.7929 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.008527, allocations: 94.55 kB / 0.793 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.008531, allocations: 4 kB / 0.793 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.008532, allocations: 1.312 kB / 0.793 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008536, allocations: 0 / 0.793 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.008749, allocations: 306.1 kB / 0.7933 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.008752, allocations: 4.469 kB / 0.7933 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.008793, allocations: 13.36 kB / 0.7933 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.008796, allocations: 0 / 0.7933 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.008801, allocations: 0 / 0.7933 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.008803, allocations: 7.938 kB / 0.7934 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.008804, allocations: 1.156 kB / 0.7934 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.008945, allocations: 231.9 kB / 0.7936 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.008958, allocations: 11.83 kB / 0.7936 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.008971, allocations: 9.172 kB / 0.7936 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.238e-05/0.009023, allocations: 0 / 0.7936 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.009053, allocations: 11.98 kB / 0.7936 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.009059, allocations: 0.8125 kB / 0.7936 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.563e-05/0.009104, allocations: 131.2 kB / 0.7937 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009104, allocations: 0.9375 kB / 0.7937 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000246/0.00935, allocations: 24 kB / 0.7938 GB, free: 5.508 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 0.0004132/0.009764, allocations: 108.5 kB / 0.7939 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.009952, allocations: 165.5 kB / 0.794 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.009954, allocations: 0 / 0.794 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.73e-05/0.009991, allocations: 29.64 kB / 0.794 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.01024, allocations: 15.88 kB / 0.7941 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.01071, allocations: 193.7 kB / 0.7942 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.831e-05/0.01075, allocations: 62.78 kB / 0.7943 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.913e-05/0.01078, allocations: 4 kB / 0.7943 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.499e-05/0.01087, allocations: 94.17 kB / 0.7944 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01087, allocations: 0 / 0.7944 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.003966/0.01484, allocations: 1.698 MB / 0.7961 GB, free: 3.125 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: 4.97543473308906]