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.001033/0.001033, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00176/0.00176, allocations: 169 kB / 24.28 MB, free: 276 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.022/1.022, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.891/1.891, allocations: 359 MB / 0.6055 GB, free: 11.01 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.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 4.198e-06/4.198e-06, allocations: 1.094 kB / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.532e-05/3.952e-05, allocations: 9.344 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002108/0.002148, allocations: 0.7481 MB / 0.7878 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.003831, allocations: 1.222 MB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.396e-05/0.003905, allocations: 0 / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.003946, allocations: 5.5 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.679e-05/0.004043, allocations: 7.875 kB / 0.789 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.004628, allocations: 144.9 kB / 0.7892 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.004852, allocations: 127.7 kB / 0.7893 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.004987, allocations: 12.19 kB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.005138, allocations: 71.86 kB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.005254, allocations: 41.03 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.005285, allocations: 12 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.005373, allocations: 31.92 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.005408, allocations: 16.73 kB / 0.7895 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.00548, allocations: 35.95 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.005702, allocations: 108.6 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.005708, allocations: 0 / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.094e-06/0.00571, allocations: 2.438 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.005716, allocations: 0 / 0.7896 GB, free: 10.26 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.0006549/0.006371, allocations: 438.1 kB / 0.79 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.00643, allocations: 12.03 kB / 0.79 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.006601, allocations: 20.83 kB / 0.79 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.006726, allocations: 116.5 kB / 0.7902 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.006758, allocations: 18.08 kB / 0.7902 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.006785, allocations: 12.38 kB / 0.7902 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.006987, allocations: 66.94 kB / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.006996, allocations: 192 / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.007009, allocations: 384 / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.007023, allocations: 8.719 kB / 0.7903 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.793e-05/0.007081, allocations: 23.86 kB / 0.7903 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.007657, allocations: 320.9 kB / 0.7906 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.00779, allocations: 48.73 kB / 0.7906 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.007832, allocations: 23.75 kB / 0.7907 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.007855, allocations: 0 / 0.7907 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.008016, allocations: 73.03 kB / 0.7907 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.284e-06/0.008019, allocations: 0.5 kB / 0.7907 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002859/0.008305, allocations: 106.2 kB / 0.7908 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.008354, allocations: 59.33 kB / 0.7909 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.008478, allocations: 174.7 kB / 0.791 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.008502, allocations: 29.7 kB / 0.7911 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.008581, allocations: 144 kB / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.008608, allocations: 19.84 kB / 0.7912 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-05/0.008686, allocations: 43.36 kB / 0.7913 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.008843, allocations: 0.4897 MB / 0.7917 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.008951, allocations: 61.67 kB / 0.7918 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.009078, allocations: 119.8 kB / 0.7919 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.009231, allocations: 129.5 kB / 0.792 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.009233, allocations: 1.594 kB / 0.792 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000331/0.009564, allocations: 216.8 kB / 0.7923 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.009614, allocations: 44.44 kB / 0.7923 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.009625, allocations: 0 / 0.7923 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.009644, allocations: 4 kB / 0.7923 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.009754, allocations: 11.94 kB / 0.7923 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.009765, allocations: 8.297 kB / 0.7923 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.409e-05/0.009859, allocations: 23.94 kB / 0.7923 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.009875, allocations: 8.5 kB / 0.7924 GB, free: 7.145 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 0.0001061/0.009981, allocations: 171 kB / 0.7925 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.01, allocations: 19.89 kB / 0.7925 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.01017, allocations: 90.08 kB / 0.7926 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.01018, allocations: 4 kB / 0.7926 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01018, allocations: 0 / 0.7926 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01019, allocations: 2.594 kB / 0.7926 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.01046, allocations: 353.3 kB / 0.793 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01046, allocations: 0 / 0.793 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.01051, allocations: 4 kB / 0.793 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.01051, allocations: 0 / 0.793 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.01052, allocations: 3.984 kB / 0.793 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01053, allocations: 4 kB / 0.793 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.01053, allocations: 0.5312 kB / 0.793 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.01068, allocations: 240.6 kB / 0.7932 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-06/0.01069, allocations: 11.89 kB / 0.7932 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.01071, allocations: 0 / 0.7932 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.01075, allocations: 4.844 kB / 0.7932 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.0108, allocations: 7.984 kB / 0.7932 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.0108, allocations: 5.281 kB / 0.7932 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.01085, allocations: 135.7 kB / 0.7934 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01085, allocations: 0 / 0.7934 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001782/0.01103, allocations: 20.84 kB / 0.7934 GB, free: 6.023 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.0001611/0.01119, allocations: 108.5 kB / 0.7935 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.01141, allocations: 172.5 kB / 0.7936 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01141, allocations: 0 / 0.7936 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.01145, allocations: 35.61 kB / 0.7937 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.01168, allocations: 18.25 kB / 0.7937 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.01226, allocations: 186.3 kB / 0.7939 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.309e-05/0.01231, allocations: 67.33 kB / 0.7939 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.01234, allocations: 5.125 kB / 0.7939 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.01236, allocations: 12.5 kB / 0.794 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/0.01237, allocations: 0 / 0.794 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of Templates: time 0.003888/0.01625, allocations: 1.558 MB / 0.7955 GB, free: 3.852 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.363082338124514]