Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001624/0.001624, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001541/0.001541, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.523/2.523, allocations: 438.8 MB / 0.6826 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.299e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00156/0.001583, allocations: 0.8052 MB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.002764, allocations: 1.123 MB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.002811, allocations: 4 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.002844, allocations: 11.92 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/0.002928, allocations: 7.875 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.003213, allocations: 55.77 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.003318, allocations: 75.75 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.003403, allocations: 16.06 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.206e-05/0.003495, allocations: 43.95 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.003551, allocations: 23.91 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.003566, allocations: 4 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.24e-05/0.003639, allocations: 19.98 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.003659, allocations: 19.91 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.003683, allocations: 19.98 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.003816, allocations: 63.73 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.003818, allocations: 0 / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.82e-07/0.003819, allocations: 4 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.003824, allocations: 0 / 0.8409 GB, free: 11.85 MB / 0.8073 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.0003393/0.004163, allocations: 276.7 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.004199, allocations: 8.625 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.00423, allocations: 8.922 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.022e-05/0.00432, allocations: 121.6 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.00433, allocations: 4.312 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.004342, allocations: 16.36 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.00445, allocations: 70.86 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.004457, allocations: 192 / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.004464, allocations: 4.375 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.004473, allocations: 4.125 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.004494, allocations: 8 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.004803, allocations: 180.2 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.468e-05/0.004877, allocations: 34.56 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.004894, allocations: 8.859 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.004911, allocations: 4 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.369e-05/0.004985, allocations: 75.42 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/0.004986, allocations: 0 / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001193/0.005106, allocations: 61.66 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.005139, allocations: 51.41 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.005205, allocations: 122.7 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.005218, allocations: 29.7 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.005256, allocations: 96.06 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.005274, allocations: 15.84 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.005311, allocations: 29.69 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.005389, allocations: 326.8 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.005409, allocations: 8 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.543e-05/0.005454, allocations: 57.92 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.984e-05/0.005524, allocations: 61.94 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005526, allocations: 0 / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001058/0.005632, allocations: 97.41 kB / 0.8426 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.005645, allocations: 7.938 kB / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.00565, allocations: 0 / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.005662, allocations: 4 kB / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.245e-05/0.005744, allocations: 19.98 kB / 0.8426 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.005747, allocations: 0 / 0.8426 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.005783, allocations: 16.14 kB / 0.8426 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.005793, allocations: 8 kB / 0.8426 GB, free: 9.852 MB / 0.8073 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.584e-05/0.005859, allocations: 113.8 kB / 0.8427 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.005868, allocations: 7.938 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.00589, allocations: 16.42 kB / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005892, allocations: 0 / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.005894, allocations: 0 / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.005896, allocations: 0 / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.00608, allocations: 218.7 kB / 0.843 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.006083, allocations: 3.938 kB / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.006111, allocations: 7.984 kB / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.006114, allocations: 4 kB / 0.843 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.006119, allocations: 4 kB / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.00612, allocations: 0 / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006121, allocations: 0 / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.511e-05/0.006207, allocations: 155.5 kB / 0.8431 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.006217, allocations: 7.891 kB / 0.8431 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.006229, allocations: 4 kB / 0.8431 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.294e-05/0.006262, allocations: 0 / 0.8431 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.006297, allocations: 11.98 kB / 0.8432 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.006301, allocations: 0 / 0.8432 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.948e-05/0.006321, allocations: 20.83 kB / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006321, allocations: 4 kB / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001728/0.006494, allocations: 20 kB / 0.8432 GB, free: 9.215 MB / 0.8073 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.0001341/0.006628, allocations: 84.41 kB / 0.8433 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.006728, allocations: 32.78 kB / 0.8433 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.006732, allocations: 11.88 kB / 0.8433 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-05/0.006758, allocations: 12.86 kB / 0.8433 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.006935, allocations: 24.97 kB / 0.8434 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.007225, allocations: 157.1 kB / 0.8435 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.964e-05/0.007264, allocations: 63.34 kB / 0.8436 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.968e-05/0.007304, allocations: 11.98 kB / 0.8436 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.007366, allocations: 63.36 kB / 0.8436 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.007366, allocations: 0 / 0.8436 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of Templates: time 0.003394/0.01076, allocations: 1.081 MB / 0.8447 GB, free: 7.676 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.417129701003432]