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.001162/0.001162, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001292/0.001292, allocations: 171.5 kB / 24.87 MB, free: 9.258 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 1.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.973/1.973, allocations: 377.9 MB / 0.6247 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 177] 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.953e-06/1.953e-06, allocations: 0 / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.325e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001443/0.001467, allocations: 0.7563 MB / 0.8135 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.002563, allocations: 1.116 MB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.002612, allocations: 8.812 kB / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.002641, allocations: 3.938 kB / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/0.002722, allocations: 16.92 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.002993, allocations: 51.81 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.003097, allocations: 72.44 kB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.003191, allocations: 16.06 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.977e-05/0.00328, allocations: 44.75 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.003325, allocations: 19.98 kB / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.003341, allocations: 4.781 kB / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.117e-05/0.003392, allocations: 23.97 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.003414, allocations: 17.61 kB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.00344, allocations: 23.92 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.00355, allocations: 63.78 kB / 0.815 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003553, allocations: 0 / 0.815 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.32e-07/0.003553, allocations: 0 / 0.815 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.003557, allocations: 1.531 kB / 0.815 GB, free: 15.19 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.0003507/0.003908, allocations: 392.4 kB / 0.8154 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.003941, allocations: 16.02 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.003975, allocations: 12.89 kB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.856e-05/0.004053, allocations: 122 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.004064, allocations: 4.375 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.004076, allocations: 8.375 kB / 0.8155 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.824e-05/0.004174, allocations: 58.94 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.004182, allocations: 1.812 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.004189, allocations: 4.375 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.004197, allocations: 8.125 kB / 0.8156 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.004218, allocations: 15.86 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.004538, allocations: 281.6 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.159e-05/0.004619, allocations: 47.77 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.004636, allocations: 15.67 kB / 0.8159 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.004652, allocations: 0.875 kB / 0.8159 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.004861, allocations: 64.98 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.004862, allocations: 1.375 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001439/0.005006, allocations: 81.69 kB / 0.8161 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.00504, allocations: 55.41 kB / 0.8161 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/0.005116, allocations: 177.9 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.005128, allocations: 31.45 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.00518, allocations: 142.8 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.005198, allocations: 23.81 kB / 0.8165 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.005235, allocations: 35.34 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.005341, allocations: 497.2 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.889e-05/0.00536, allocations: 11.98 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.403e-05/0.005404, allocations: 70.23 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.121e-05/0.005475, allocations: 92.8 kB / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005477, allocations: 0 / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001082/0.005585, allocations: 99.91 kB / 0.8172 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.005596, allocations: 4 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.0056, allocations: 0 / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.00561, allocations: 4 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.724e-05/0.005687, allocations: 20.45 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.005692, allocations: 8.703 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.005726, allocations: 8 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.005735, allocations: 4.531 kB / 0.8173 GB, free: 12.58 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 6.527e-05/0.0058, allocations: 161.4 kB / 0.8174 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.005811, allocations: 16.77 kB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/0.005833, allocations: 12.42 kB / 0.8175 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005835, allocations: 0 / 0.8175 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.005836, allocations: 1.219 kB / 0.8175 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.005839, allocations: 0 / 0.8175 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.006047, allocations: 322.2 kB / 0.8178 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.00605, allocations: 4.844 kB / 0.8178 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.006086, allocations: 11.92 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006087, allocations: 2.219 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.006093, allocations: 4 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.006094, allocations: 4 kB / 0.8178 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.006095, allocations: 0 / 0.8178 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.006201, allocations: 223.8 kB / 0.818 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.006208, allocations: 3.953 kB / 0.818 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.006219, allocations: 11.08 kB / 0.818 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.414e-05/0.006253, allocations: 4 kB / 0.818 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.00628, allocations: 7.984 kB / 0.8181 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.006284, allocations: 0 / 0.8181 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.006322, allocations: 139.3 kB / 0.8182 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006322, allocations: 0 / 0.8182 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001675/0.006489, allocations: 12 kB / 0.8182 GB, free: 11.6 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.0001059/0.006595, allocations: 104.5 kB / 0.8183 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.13e-05/0.006687, allocations: 52.7 kB / 0.8183 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006688, allocations: 0 / 0.8183 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.006718, allocations: 23.67 kB / 0.8184 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.006904, allocations: 16.91 kB / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.007158, allocations: 161.9 kB / 0.8185 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.432e-05/0.007192, allocations: 64.92 kB / 0.8186 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.389e-05/0.007216, allocations: 4 kB / 0.8186 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.00727, allocations: 82.19 kB / 0.8187 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.00727, allocations: 1.188 kB / 0.8187 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.002741/0.01001, allocations: 1.141 MB / 0.8198 GB, free: 9.965 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.309380114078522]