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.001933/0.001933, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002274/0.002274, allocations: 165.3 kB / 23.55 MB, free: 0.8633 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.578/1.578, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.88/2.88, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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.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 2.295e-06/2.295e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.893e-05/4.123e-05, allocations: 8.5 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00248/0.002521, allocations: 0.7363 MB / 0.8116 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.004487, allocations: 1.098 MB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.904e-05/0.004556, allocations: 0 / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.634e-05/0.004592, allocations: 4.688 kB / 0.8126 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.004693, allocations: 11.88 kB / 0.8126 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.005076, allocations: 52.81 kB / 0.8127 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.005253, allocations: 71.78 kB / 0.8128 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.005378, allocations: 21.56 kB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.005505, allocations: 35.91 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.232e-05/0.005578, allocations: 31.89 kB / 0.8128 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.0056, allocations: 4 kB / 0.8128 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.808e-05/0.005688, allocations: 17.81 kB / 0.8129 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.005722, allocations: 19.91 kB / 0.8129 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.005798, allocations: 19.98 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.006004, allocations: 87.67 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.006007, allocations: 0 / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.62e-07/0.006008, allocations: 1.344 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.006015, allocations: 0 / 0.813 GB, free: 15.9 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.0006782/0.006693, allocations: 303.6 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.006742, allocations: 8.031 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.006811, allocations: 8.891 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.006968, allocations: 117.7 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.006985, allocations: 4.375 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.007002, allocations: 5.094 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.007254, allocations: 74.62 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.007263, allocations: 5.781 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.007278, allocations: 4.375 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.007287, allocations: 8.125 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.007485, allocations: 44.55 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007559/0.008241, allocations: 257.6 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.008442, allocations: 51.72 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.008569, allocations: 36.95 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.008603, allocations: 5.312 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002704/0.008874, allocations: 75.38 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.008875, allocations: 1.625 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005327/0.009408, allocations: 133.6 kB / 0.8141 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.009471, allocations: 57.03 kB / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.009615, allocations: 113.8 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.009647, allocations: 33.7 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.009737, allocations: 96.06 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.009759, allocations: 12.81 kB / 0.8144 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.009828, allocations: 29.7 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.01003, allocations: 322.8 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.01015, allocations: 26.14 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.01032, allocations: 69.98 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.01062, allocations: 116.5 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01062, allocations: 0 / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003968/0.01102, allocations: 139.8 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.01104, allocations: 6.25 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.01105, allocations: 4.312 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.01107, allocations: 0 / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.01121, allocations: 23.92 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.01122, allocations: 4 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.696e-05/0.01132, allocations: 16.97 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.01134, allocations: 11.98 kB / 0.8151 GB, free: 13.52 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.0001272/0.01146, allocations: 118.4 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.01149, allocations: 15.89 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.01152, allocations: 5.375 kB / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.01153, allocations: 7.984 kB / 0.8153 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.01153, allocations: 0.8438 kB / 0.8153 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.01154, allocations: 4 kB / 0.8153 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006106/0.01215, allocations: 321.5 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.01216, allocations: 0 / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.01222, allocations: 11.97 kB / 0.8156 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.01222, allocations: 0 / 0.8156 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.01223, allocations: 0 / 0.8156 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.01223, allocations: 4 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01224, allocations: 0 / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.01264, allocations: 213.5 kB / 0.8158 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.01266, allocations: 7.953 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.01268, allocations: 0 / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.941e-05/0.01277, allocations: 7.984 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.01281, allocations: 0 / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.01282, allocations: 5 kB / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.87e-05/0.01291, allocations: 95.92 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01291, allocations: 1.062 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002847/0.0132, allocations: 19.94 kB / 0.8159 GB, free: 12.65 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.0002117/0.01341, allocations: 108.4 kB / 0.816 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.01372, allocations: 73.89 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01372, allocations: 0 / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.01387, allocations: 37.58 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.01418, allocations: 21.94 kB / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/0.01466, allocations: 159.8 kB / 0.8163 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.01476, allocations: 81.11 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.374e-05/0.01481, allocations: 4 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.01485, allocations: 13.09 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01485, allocations: 0.5 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of Templates: time 0.004595/0.01945, allocations: 1.034 MB / 0.8174 GB, free: 11.15 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.929756177007221]