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.0008906/0.0008906, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009144/0.0009144, allocations: 173 kB / 23.36 MB, free: 1.129 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.9092/0.9092, 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.381/2.381, allocations: 438.8 MB / 0.6827 GB, free: 13.58 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 2.355e-06/2.355e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.213e-05, allocations: 6.25 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.002095/0.002117, allocations: 0.7595 MB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.003812, allocations: 1.116 MB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.003868, allocations: 4 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.003905, allocations: 7.922 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.98e-05/0.003995, allocations: 11.86 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.004374, allocations: 59.7 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.004509, allocations: 71.77 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.004601, allocations: 20.11 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.489e-05/0.004696, allocations: 39.91 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.004744, allocations: 27.95 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.004761, allocations: 8 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.837e-05/0.004819, allocations: 15.98 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.004845, allocations: 15.92 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.004879, allocations: 23.91 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.005022, allocations: 59.8 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005024, allocations: 3.938 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005025, allocations: 4 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.005029, allocations: 0 / 0.8408 GB, free: 11.9 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.0004368/0.005466, allocations: 272.7 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.00551, allocations: 8.625 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.00555, allocations: 12.92 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.005665, allocations: 121.7 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.005678, allocations: 4.312 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.005699, allocations: 8.375 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.005819, allocations: 62.92 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.005827, allocations: 192 / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.005838, allocations: 12.36 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.005845, allocations: 4.125 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.005875, allocations: 12 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.006294, allocations: 180.2 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.452e-05/0.006389, allocations: 34.56 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.006408, allocations: 8.859 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.006426, allocations: 0 / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.78e-05/0.006513, allocations: 67.31 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.006515, allocations: 0 / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001469/0.006662, allocations: 70 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.006708, allocations: 55.41 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.188e-05/0.0068, allocations: 122.7 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.006818, allocations: 25.7 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.006866, allocations: 96.08 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.006888, allocations: 19.83 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.006942, allocations: 33.62 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.007045, allocations: 322.8 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/0.007075, allocations: 8 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/0.007133, allocations: 54 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.095e-05/0.007223, allocations: 69.92 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.007226, allocations: 0 / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001404/0.007366, allocations: 85.47 kB / 0.8425 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.007383, allocations: 8.156 kB / 0.8425 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.00739, allocations: 8 kB / 0.8425 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.007404, allocations: 4 kB / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.007517, allocations: 15.98 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.007524, allocations: 7.938 kB / 0.8425 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.231e-05/0.007576, allocations: 4 kB / 0.8425 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.007591, allocations: 11.98 kB / 0.8425 GB, free: 9.906 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 7.6e-05/0.007667, allocations: 109.8 kB / 0.8427 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.007685, allocations: 11.94 kB / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.007708, allocations: 4.438 kB / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.007712, allocations: 8 kB / 0.8427 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.007714, allocations: 0 / 0.8427 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.00772, allocations: 3.984 kB / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.007971, allocations: 218.7 kB / 0.8429 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.007974, allocations: 3.938 kB / 0.8429 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.008013, allocations: 7.984 kB / 0.8429 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.008015, allocations: 4 kB / 0.8429 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.008021, allocations: 0 / 0.8429 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.008023, allocations: 0 / 0.8429 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.008025, allocations: 0 / 0.8429 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.008138, allocations: 155.5 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.00815, allocations: 15.89 kB / 0.8431 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.008161, allocations: 0 / 0.8431 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.046e-05/0.008222, allocations: 4 kB / 0.8431 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.008255, allocations: 7.922 kB / 0.8431 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.008261, allocations: 8 kB / 0.8431 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.418e-05/0.008285, allocations: 17.5 kB / 0.8431 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.008285, allocations: 0 / 0.8431 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002607/0.008546, allocations: 12 kB / 0.8431 GB, free: 9.277 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.0001466/0.008692, allocations: 88.41 kB / 0.8432 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.008819, allocations: 49.03 kB / 0.8432 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.008822, allocations: 0 / 0.8432 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.53e-05/0.008858, allocations: 16.86 kB / 0.8433 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.009059, allocations: 23.86 kB / 0.8433 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.009376, allocations: 157.1 kB / 0.8434 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.009418, allocations: 59.78 kB / 0.8435 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.009452, allocations: 8 kB / 0.8435 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.009519, allocations: 63.36 kB / 0.8436 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of SimCode: time 9.41e-07/0.00952, allocations: 0 / 0.8436 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of Templates: time 0.003797/0.01332, allocations: 1.081 MB / 0.8446 GB, free: 7.73 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 -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.2507135779596865]