Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001478/0.001478, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001904/0.001904, allocations: 161.7 kB / 23.55 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.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.896/2.896, allocations: 377.8 MB / 0.6232 GB, free: 8.523 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.947e-06/3.947e-06, allocations: 0.7656 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.745e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002166/0.002203, allocations: 0.7462 MB / 0.8115 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.004364, allocations: 1.187 MB / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.004425, allocations: 5.031 kB / 0.8127 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.004464, allocations: 3.938 kB / 0.8127 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.039e-05/0.004554, allocations: 16.64 kB / 0.8127 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.005102, allocations: 137.2 kB / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.005345, allocations: 131.7 kB / 0.813 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.005459, allocations: 20.11 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.005609, allocations: 63.95 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.005718, allocations: 45.39 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.005751, allocations: 12 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.979e-05/0.005831, allocations: 23.98 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.005868, allocations: 19.92 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.649e-05/0.005954, allocations: 32.5 kB / 0.8132 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.006221, allocations: 148.6 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.006225, allocations: 0 / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.423e-06/0.006226, allocations: 3.938 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.006231, allocations: 5.594 kB / 0.8133 GB, free: 15.55 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007247/0.006956, allocations: 335.8 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.007002, allocations: 12.03 kB / 0.8137 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.007153, allocations: 19.47 kB / 0.8137 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.007301, allocations: 117.6 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.007324, allocations: 8.375 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.00735, allocations: 8.375 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.007596, allocations: 74.14 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.007607, allocations: 4.188 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.007626, allocations: 8.359 kB / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.007634, allocations: 4.656 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.007848, allocations: 49.2 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.008439, allocations: 266 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.008642, allocations: 54.55 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.008758, allocations: 37.39 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.008787, allocations: 4.594 kB / 0.8143 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.009095, allocations: 84.14 kB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.009096, allocations: 1.156 kB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0005389/0.009635, allocations: 155.2 kB / 0.8145 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.009695, allocations: 55.41 kB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.009825, allocations: 113.8 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.009859, allocations: 35.45 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.009948, allocations: 100.1 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.009974, allocations: 15.91 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.614e-05/0.01006, allocations: 37.7 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.01025, allocations: 322.8 kB / 0.8152 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.01044, allocations: 79.28 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.01067, allocations: 122.8 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.01102, allocations: 150.7 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.01102, allocations: 4 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009024/0.01192, allocations: 259.5 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/0.01198, allocations: 37.7 kB / 0.8158 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01199, allocations: 3.938 kB / 0.8158 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.01201, allocations: 0 / 0.8158 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.01213, allocations: 15.98 kB / 0.8158 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.01214, allocations: 15.98 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.01236, allocations: 37.33 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.01239, allocations: 11.98 kB / 0.8159 GB, free: 12.72 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001389/0.01252, allocations: 118.9 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.01255, allocations: 17.3 kB / 0.816 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.01292, allocations: 126 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01293, allocations: 4.656 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.01293, allocations: 0 / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01293, allocations: 0.5 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.01346, allocations: 321.8 kB / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01346, allocations: 0 / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.337e-05/0.01352, allocations: 8 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01352, allocations: 0 / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.01354, allocations: 3.984 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01354, allocations: 0 / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01354, allocations: 3.938 kB / 0.8164 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.01394, allocations: 225 kB / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.01395, allocations: 3.953 kB / 0.8167 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.01397, allocations: 4 kB / 0.8167 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.01407, allocations: 11.98 kB / 0.8167 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.01412, allocations: 5.016 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.01413, allocations: 4 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.925e-05/0.01421, allocations: 92.33 kB / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01421, allocations: 0 / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002834/0.01449, allocations: 27.94 kB / 0.8168 GB, free: 11.7 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002261/0.01472, allocations: 104.3 kB / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004771/0.0152, allocations: 198.7 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.0152, allocations: 0 / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.01533, allocations: 32.66 kB / 0.8171 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.01567, allocations: 22.73 kB / 0.8171 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.01619, allocations: 178.6 kB / 0.8173 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.785e-05/0.01629, allocations: 71.33 kB / 0.8174 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.01632, allocations: 9.281 kB / 0.8174 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.01636, allocations: 12.5 kB / 0.8174 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of SimCode: time 8.42e-07/0.01636, allocations: 1.031 kB / 0.8174 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.005239/0.0216, allocations: 1.577 MB / 0.8189 GB, free: 9.496 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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: 8.011747012031265]