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.001083/0.001083, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001064/0.001064, allocations: 173 kB / 23.49 MB, free: 1.059 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.069/1.069, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.272/2.272, allocations: 429.5 MB / 0.6736 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 3.898e-06/3.898e-06, allocations: 0 / 0.8782 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.762e-05/5.152e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002324/0.002375, allocations: 0.7645 MB / 0.879 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.003961, allocations: 1.118 MB / 0.88 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.004019, allocations: 2.203 kB / 0.88 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.004055, allocations: 3.938 kB / 0.8801 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.665e-05/0.004152, allocations: 24.28 kB / 0.8801 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.004532, allocations: 47.77 kB / 0.8801 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.004666, allocations: 72.22 kB / 0.8802 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.004837, allocations: 17.45 kB / 0.8802 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.00495, allocations: 47.89 kB / 0.8803 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.005003, allocations: 19.97 kB / 0.8803 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.005025, allocations: 8 kB / 0.8803 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.647e-05/0.005091, allocations: 20.81 kB / 0.8803 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.005117, allocations: 15.94 kB / 0.8803 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.005158, allocations: 17.31 kB / 0.8803 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.00536, allocations: 63.8 kB / 0.8804 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.005366, allocations: 0 / 0.8804 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.323e-06/0.005367, allocations: 0 / 0.8804 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.005374, allocations: 1.531 kB / 0.8804 GB, free: 4.254 MB / 0.8386 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.0005349/0.005909, allocations: 412.2 kB / 0.8808 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.005956, allocations: 8.031 kB / 0.8808 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.006017, allocations: 10.31 kB / 0.8808 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.006141, allocations: 116.5 kB / 0.8809 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.006158, allocations: 8.359 kB / 0.8809 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.006173, allocations: 4.375 kB / 0.8809 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.006342, allocations: 70.12 kB / 0.881 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.006351, allocations: 4.125 kB / 0.881 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.006363, allocations: 384 / 0.881 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.006373, allocations: 4.125 kB / 0.881 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.006407, allocations: 12 kB / 0.881 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.006925, allocations: 299.7 kB / 0.8813 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.007052, allocations: 51.09 kB / 0.8813 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.007084, allocations: 19.8 kB / 0.8814 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.007115, allocations: 3.938 kB / 0.8814 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/0.007227, allocations: 69.03 kB / 0.8814 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.007229, allocations: 0 / 0.8814 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002232/0.007453, allocations: 85.8 kB / 0.8815 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.007501, allocations: 51.41 kB / 0.8816 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.007623, allocations: 189.8 kB / 0.8817 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.007641, allocations: 29.7 kB / 0.8818 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.007705, allocations: 134.9 kB / 0.8819 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.007728, allocations: 23.83 kB / 0.8819 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.007779, allocations: 35.36 kB / 0.882 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.00793, allocations: 496.1 kB / 0.8824 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.007974, allocations: 11.98 kB / 0.8824 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.008046, allocations: 81.72 kB / 0.8825 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.008159, allocations: 93.69 kB / 0.8826 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.008162, allocations: 0 / 0.8826 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001689/0.008331, allocations: 101.4 kB / 0.8827 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.00835, allocations: 6.344 kB / 0.8827 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.008362, allocations: 7.984 kB / 0.8827 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.008379, allocations: 0 / 0.8827 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.008516, allocations: 23.92 kB / 0.8827 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.008524, allocations: 224 / 0.8827 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.008573, allocations: 23.95 kB / 0.8828 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.008587, allocations: 4 kB / 0.8828 GB, free: 1.555 MB / 0.8386 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 9.799e-05/0.008685, allocations: 164.5 kB / 0.8829 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.008702, allocations: 7.938 kB / 0.8829 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.008736, allocations: 12.42 kB / 0.8829 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.00874, allocations: 0 / 0.8829 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.008746, allocations: 4 kB / 0.883 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.00875, allocations: 0 / 0.883 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.009093, allocations: 345.2 kB / 0.8833 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.009096, allocations: 4 kB / 0.8833 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.009136, allocations: 4 kB / 0.8833 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.00914, allocations: 4 kB / 0.8833 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.009149, allocations: 0 / 0.8833 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.00915, allocations: 0 / 0.8833 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.009152, allocations: 0 / 0.8833 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.009306, allocations: 227.8 kB / 0.8835 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.009318, allocations: 7.953 kB / 0.8835 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.009334, allocations: 4 kB / 0.8835 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.453e-05/0.009379, allocations: 7.984 kB / 0.8835 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.009424, allocations: 0 / 0.8835 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.009432, allocations: 11.94 kB / 0.8835 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.196e-05/0.009494, allocations: 139.1 kB / 0.8837 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.009494, allocations: 0 / 0.8837 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002052/0.0097, allocations: 16 kB / 0.8837 GB, free: 0.5391 MB / 0.8386 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.0001826/0.009882, allocations: 103.2 kB / 0.8838 GB, free: 440 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.01003, allocations: 47.59 kB / 0.8838 GB, free: 388 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01003, allocations: 4 kB / 0.8838 GB, free: 384 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.976e-05/0.01007, allocations: 24.06 kB / 0.8839 GB, free: 356 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.0103, allocations: 21.75 kB / 0.8839 GB, free: 336 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.01071, allocations: 162.7 kB / 0.884 GB, free: 140 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.471e-05/0.01076, allocations: 59.34 kB / 0.8841 GB, free: 60 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.141e-05/0.01079, allocations: 4 kB / 0.8841 GB, free: 56 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.01082, allocations: 12.5 kB / 0.8841 GB, free: 44 kB / 0.8386 GB Notification: Performance of SimCode: time 1.552e-06/0.01082, allocations: 0 / 0.8841 GB, free: 44 kB / 0.8386 GB Notification: Performance of Templates: time 0.003676/0.0145, allocations: 1.049 MB / 0.8851 GB, free: 15.06 MB / 0.8542 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.911682998994365]