Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001103/0.001103, 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.00118/0.00118, 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 0.9961/0.9961, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.906/1.906, allocations: 377.8 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.96e-05, allocations: 3.906 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001319/0.001339, allocations: 0.7622 MB / 0.8123 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.002535, allocations: 1.112 MB / 0.8134 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.00259, allocations: 0 / 0.8134 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.00262, allocations: 8.984 kB / 0.8134 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.002696, allocations: 19.86 kB / 0.8134 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.002975, allocations: 49.17 kB / 0.8134 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.003077, allocations: 75.7 kB / 0.8135 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.003182, allocations: 20.12 kB / 0.8135 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.701e-05/0.003269, allocations: 39.94 kB / 0.8136 GB, free: 0 / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.472e-05/0.003334, allocations: 29.72 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.003353, allocations: 4 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.759e-05/0.003411, allocations: 19.98 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.003433, allocations: 15.92 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.003467, allocations: 23.97 kB / 0.8137 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.003604, allocations: 61.36 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.003606, allocations: 0 / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003606, allocations: 0 / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.003611, allocations: 0 / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004377/0.004049, allocations: 397.8 kB / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.004094, allocations: 8.031 kB / 0.8141 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.004146, allocations: 16.88 kB / 0.8141 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.00425, allocations: 122.7 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.004265, allocations: 8.375 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.004278, allocations: 4.375 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.004406, allocations: 66.88 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.004415, allocations: 192 / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.004428, allocations: 4.375 kB / 0.8143 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.00444, allocations: 8.844 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.869e-05/0.004479, allocations: 15.92 kB / 0.8144 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.005095, allocations: 301.8 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.278e-05/0.005188, allocations: 47.05 kB / 0.8147 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.005213, allocations: 11.69 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.005234, allocations: 3.938 kB / 0.8147 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.333e-05/0.005317, allocations: 69.75 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.005319, allocations: 1.312 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002054/0.005524, allocations: 89.64 kB / 0.8149 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.005564, allocations: 55.41 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.005658, allocations: 175.1 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.005673, allocations: 29.7 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.005729, allocations: 142.8 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.005749, allocations: 25.2 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.005789, allocations: 31.36 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.005909, allocations: 0.4923 MB / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.005936, allocations: 4 kB / 0.8158 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.005996, allocations: 78.83 kB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.925e-05/0.006085, allocations: 96.11 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.006089, allocations: 3.938 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001302/0.006219, allocations: 103 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.006236, allocations: 8.906 kB / 0.8161 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.006242, allocations: 0 / 0.8161 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.006261, allocations: 6.156 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.006371, allocations: 15.98 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.006379, allocations: 4 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.006431, allocations: 8 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.006451, allocations: 11.98 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.615e-05/0.006547, allocations: 166.7 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.006561, allocations: 11.89 kB / 0.8163 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.006585, allocations: 8.438 kB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.006588, allocations: 4 kB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.006592, allocations: 0 / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006596, allocations: 0 / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.006852, allocations: 341.7 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006853, allocations: 4.531 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/0.006881, allocations: 9.922 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.006884, allocations: 0 / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.006893, allocations: 0 / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.006894, allocations: 0 / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006895, allocations: 0 / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.007029, allocations: 231.8 kB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-06/0.007038, allocations: 12.48 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.007052, allocations: 0.5312 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.275e-05/0.007085, allocations: 4 kB / 0.8169 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.007137, allocations: 8.641 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.007143, allocations: 0.625 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.007194, allocations: 135.8 kB / 0.817 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007194, allocations: 3.406 kB / 0.817 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001826/0.007377, allocations: 20 kB / 0.817 GB, free: 12.17 MB / 0.7761 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 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * 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.0001325/0.007509, allocations: 103.5 kB / 0.8171 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.00763, allocations: 51.53 kB / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.007631, allocations: 0 / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.00767, allocations: 33.8 kB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.007861, allocations: 11.94 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.008207, allocations: 154.8 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.32e-05/0.00826, allocations: 68.17 kB / 0.8174 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.278e-05/0.008293, allocations: 4 kB / 0.8174 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.008326, allocations: 17.58 kB / 0.8174 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of SimCode: time 1.052e-06/0.008327, allocations: 0 / 0.8174 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of Templates: time 0.003074/0.0114, allocations: 1.05 MB / 0.8185 GB, free: 10.7 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.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.249787010019645]