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.001466/0.001466, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009423/0.0009423, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9557/0.9557, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.917/1.917, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.492e-06/1.492e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.86e-05, allocations: 9.062 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001185/0.001204, allocations: 0.7666 MB / 0.8123 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.002372, allocations: 1.116 MB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.002424, allocations: 4.531 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.002463, allocations: 7.875 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.683e-05/0.002549, allocations: 12.95 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.002914, allocations: 55.81 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.816e-05/0.003002, allocations: 72.38 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.003103, allocations: 22.5 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.00318, allocations: 43.91 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.003225, allocations: 27.89 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.003241, allocations: 4 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.851e-05/0.00329, allocations: 12 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.00331, allocations: 19.92 kB / 0.8137 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.003342, allocations: 19.97 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003462, allocations: 61.14 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003464, allocations: 0 / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003464, allocations: 0 / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.003468, allocations: 1.562 kB / 0.8137 GB, free: 15.48 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.000397/0.003865, allocations: 400.4 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.003899, allocations: 15.97 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.003938, allocations: 8.891 kB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.029e-05/0.004018, allocations: 121 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.00403, allocations: 5.562 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.004048, allocations: 8.375 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.004166, allocations: 70.88 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.004176, allocations: 0.7188 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.004185, allocations: 384 / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.004193, allocations: 5.5 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.047e-05/0.004223, allocations: 15.92 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.004608, allocations: 304.8 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.633e-05/0.004694, allocations: 47.08 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.004718, allocations: 12.66 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.00474, allocations: 12.06 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.19e-05/0.004812, allocations: 61.05 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.004813, allocations: 0.9062 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001715/0.004985, allocations: 81.62 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.005016, allocations: 60.38 kB / 0.8149 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.005097, allocations: 177.9 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.005112, allocations: 29.7 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.00516, allocations: 140.2 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.005178, allocations: 19.83 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.005214, allocations: 35.36 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.005323, allocations: 0.4952 MB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.005348, allocations: 8 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.064e-05/0.005398, allocations: 73.73 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.997e-05/0.005478, allocations: 98.17 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.00548, allocations: 1.938 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001174/0.005597, allocations: 107.1 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.005608, allocations: 6.812 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.005612, allocations: 0 / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.005627, allocations: 4 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.00571, allocations: 19.92 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.005716, allocations: 8.906 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.174e-05/0.005748, allocations: 7.984 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.00576, allocations: 8.531 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 6.249e-05/0.005822, allocations: 161.1 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.005834, allocations: 12.73 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.005859, allocations: 12.44 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.005861, allocations: 0.8438 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.005863, allocations: 3.938 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.005867, allocations: 5.266 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.006071, allocations: 333.6 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.006072, allocations: 0 / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.006094, allocations: 12.77 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006095, allocations: 0 / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.006102, allocations: 4 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006103, allocations: 1.094 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006103, allocations: 4 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.00621, allocations: 227.9 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.006217, allocations: 5.328 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.006226, allocations: 4 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.21e-05/0.006259, allocations: 4 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.006292, allocations: 9.109 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.006296, allocations: 0 / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.956e-05/0.006336, allocations: 139.8 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006336, allocations: 5.062 kB / 0.817 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001606/0.006496, allocations: 12 kB / 0.817 GB, free: 11.8 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 9.877e-05/0.006595, allocations: 112.6 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.006695, allocations: 48.67 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006696, allocations: 0 / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.353e-05/0.00673, allocations: 24.17 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.006909, allocations: 17.25 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.007212, allocations: 167.6 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.007e-05/0.007252, allocations: 63.22 kB / 0.8174 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.414e-05/0.007276, allocations: 9.328 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.007303, allocations: 12.5 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.007304, allocations: 0 / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of Templates: time 0.002889/0.01019, allocations: 1.044 MB / 0.8185 GB, free: 10.32 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.2013752101920545]