Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001426/0.001426, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001552/0.001552, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9801/0.9801, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.855/1.855, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.SampleTrigger,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.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,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.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.808e-05, allocations: 4.844 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001581/0.001609, allocations: 0.7623 MB / 0.8123 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.002652, allocations: 1.112 MB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.002694, allocations: 0 / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.002722, allocations: 8.828 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.226e-05/0.002805, allocations: 19.8 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.00307, allocations: 52.48 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.587e-05/0.003166, allocations: 76.92 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.003274, allocations: 16.11 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.003355, allocations: 35.91 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.003401, allocations: 33.27 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.003417, allocations: 4 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.638e-05/0.003474, allocations: 15.98 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.003498, allocations: 19.92 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.003533, allocations: 25.19 kB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.003677, allocations: 59.75 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.003679, allocations: 0 / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00368, allocations: 0.6562 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.003685, allocations: 3.984 kB / 0.8138 GB, free: 15.46 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.0004098/0.004095, allocations: 393.8 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.004132, allocations: 12.03 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.004181, allocations: 12.89 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.572e-05/0.004267, allocations: 121 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.004278, allocations: 4.375 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.00429, allocations: 14.25 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.004412, allocations: 66.88 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.004418, allocations: 192 / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.004428, allocations: 4.375 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.004436, allocations: 6 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.902e-05/0.004465, allocations: 11.98 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.004857, allocations: 307.6 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.6e-05/0.004943, allocations: 43.77 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.004965, allocations: 11.69 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.004984, allocations: 12.45 kB / 0.8147 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.324e-05/0.005057, allocations: 65.92 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.005058, allocations: 0 / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001716/0.00523, allocations: 82.17 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.005266, allocations: 60.73 kB / 0.8149 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.426e-05/0.005351, allocations: 173.9 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.005364, allocations: 29.7 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.005416, allocations: 138.8 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.005434, allocations: 24.36 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.005476, allocations: 36.73 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.0056, allocations: 0.4922 MB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.005625, allocations: 11.92 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.005683, allocations: 73.8 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.232e-05/0.005766, allocations: 92.7 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.005769, allocations: 4 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001202/0.005889, allocations: 103.5 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.005903, allocations: 8 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.005908, allocations: 1.281 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.005923, allocations: 4 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.006016, allocations: 15.98 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.006023, allocations: 9.719 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.222e-05/0.006056, allocations: 4 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.006067, allocations: 4 kB / 0.8161 GB, free: 12.8 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 7.733e-05/0.006144, allocations: 167.2 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.006156, allocations: 18.45 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.006181, allocations: 8.438 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.006183, allocations: 0 / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.006186, allocations: 0 / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006189, allocations: 0 / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.006418, allocations: 353.5 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006419, allocations: 0 / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.006442, allocations: 8.5 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.006444, allocations: 5.016 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.006451, allocations: 0 / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.006452, allocations: 0 / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006453, allocations: 1.438 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.006573, allocations: 227.8 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.00658, allocations: 3.953 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.00659, allocations: 7.984 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.006629, allocations: 0.75 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.006662, allocations: 15.92 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.006668, allocations: 1.344 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.26e-05/0.00671, allocations: 135.8 kB / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00671, allocations: 0 / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001558/0.006866, allocations: 16.88 kB / 0.817 GB, free: 11.79 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.000113/0.006979, allocations: 104.2 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.007087, allocations: 59.25 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.007088, allocations: 0 / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.233e-05/0.00712, allocations: 19.69 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.007297, allocations: 15.92 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.007574, allocations: 162.8 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.007614, allocations: 65.67 kB / 0.8174 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.121e-05/0.007636, allocations: 4 kB / 0.8174 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.007662, allocations: 12.5 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.007662, allocations: 4 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of Templates: time 0.002704/0.01037, allocations: 1.096 MB / 0.8185 GB, free: 10.22 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.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.045425598975271]