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.001879/0.001879, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002355/0.002355, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.552/1.552, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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 2.902/2.902, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] 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.535e-06/2.535e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.754e-05/4.008e-05, allocations: 10.25 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002223/0.002263, allocations: 0.7382 MB / 0.8115 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.004108, allocations: 1.093 MB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.004166, allocations: 1.125 kB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.004201, allocations: 3.938 kB / 0.8126 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.913e-05/0.00429, allocations: 12.36 kB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.004694, allocations: 61.03 kB / 0.8127 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.004833, allocations: 67.78 kB / 0.8128 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.00494, allocations: 12.17 kB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.005067, allocations: 49.83 kB / 0.8128 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.005126, allocations: 23.91 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.005152, allocations: 8 kB / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.659e-05/0.005218, allocations: 19.97 kB / 0.8129 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.005262, allocations: 12.02 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.005309, allocations: 21.27 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.005496, allocations: 91.61 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.005499, allocations: 0 / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.72e-07/0.0055, allocations: 0 / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.005505, allocations: 1.531 kB / 0.813 GB, free: 15.88 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.0006028/0.006108, allocations: 302.1 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.006146, allocations: 8.031 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.00621, allocations: 22.23 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.006349, allocations: 113.7 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.006366, allocations: 4.375 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.006385, allocations: 8.375 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.006628, allocations: 72.09 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.006638, allocations: 192 / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.006649, allocations: 384 / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.006656, allocations: 8.062 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.006853, allocations: 46.08 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.007538, allocations: 252.4 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.007734, allocations: 59.08 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.007841, allocations: 25.69 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.007867, allocations: 4.469 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.008102, allocations: 80.92 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.008103, allocations: 0 / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005062/0.008609, allocations: 143.4 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.008662, allocations: 51.41 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.008796, allocations: 121.8 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.008825, allocations: 30.86 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.008909, allocations: 92.09 kB / 0.8144 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.008942, allocations: 23.83 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.009009, allocations: 26.67 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.009189, allocations: 318.8 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.009318, allocations: 36.69 kB / 0.8148 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.009489, allocations: 74.98 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.009758, allocations: 108.2 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.009761, allocations: 1.031 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003786/0.01014, allocations: 139.4 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.01016, allocations: 10.81 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01016, allocations: 2.312 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.01019, allocations: 4 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.01032, allocations: 15.98 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.01033, allocations: 4 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.361e-05/0.01043, allocations: 11.92 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.01044, allocations: 4.812 kB / 0.8151 GB, free: 13.51 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 0.0001204/0.01056, allocations: 126.3 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.01059, allocations: 17.53 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.01062, allocations: 8.438 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01062, allocations: 0 / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01062, allocations: 0 / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.01063, allocations: 4.531 kB / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.01116, allocations: 311.4 kB / 0.8156 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01116, allocations: 0 / 0.8156 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/0.01122, allocations: 12.61 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01122, allocations: 0 / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.01124, allocations: 4.656 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01124, allocations: 4 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01124, allocations: 0.6562 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.01161, allocations: 218.6 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.01162, allocations: 7.891 kB / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.01164, allocations: 0 / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.076e-05/0.01173, allocations: 7.984 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.01178, allocations: 11.98 kB / 0.8158 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.01179, allocations: 0 / 0.8158 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.05e-05/0.01186, allocations: 95.92 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01186, allocations: 2.312 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002682/0.01212, allocations: 12 kB / 0.8159 GB, free: 12.63 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.0001894/0.01231, allocations: 103.2 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.01262, allocations: 77.94 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01262, allocations: 0 / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.01275, allocations: 31.92 kB / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.01304, allocations: 19.75 kB / 0.8161 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.01348, allocations: 162.1 kB / 0.8163 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.28e-05/0.01356, allocations: 76.3 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.633e-05/0.0136, allocations: 6 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.01364, allocations: 16.44 kB / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of SimCode: time 3.11e-07/0.01364, allocations: 0 / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of Templates: time 0.004145/0.01778, allocations: 1.025 MB / 0.8174 GB, free: 11.11 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.884439085028134]