Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009576/0.0009576, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009776/0.0009776, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9469/0.9469, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.758/1.758, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/3e-05, allocations: 2.969 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002244/0.002274, allocations: 0.7579 MB / 0.7883 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.003933, allocations: 1.113 MB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.003985, allocations: 0 / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.004016, allocations: 3.938 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.655e-05/0.004102, allocations: 19.84 kB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.004434, allocations: 52.98 kB / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.004564, allocations: 75.7 kB / 0.7895 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.004677, allocations: 12.75 kB / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.004798, allocations: 43.95 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.004856, allocations: 25.31 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.004877, allocations: 8 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.00494, allocations: 19.97 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.004966, allocations: 19.92 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.004994, allocations: 12.83 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.005128, allocations: 63.8 kB / 0.7897 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.005132, allocations: 0.5625 kB / 0.7897 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005133, allocations: 0 / 0.7897 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.005137, allocations: 0.75 kB / 0.7897 GB, free: 9.941 MB / 0.7448 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.0004291/0.005566, allocations: 405.2 kB / 0.7901 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.005607, allocations: 8.031 kB / 0.7901 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.005643, allocations: 12.89 kB / 0.7902 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.612e-05/0.005729, allocations: 125.1 kB / 0.7903 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.005742, allocations: 6.031 kB / 0.7903 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.005754, allocations: 4.375 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.005879, allocations: 66.94 kB / 0.7903 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.005889, allocations: 4.125 kB / 0.7903 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.005896, allocations: 1.969 kB / 0.7904 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.005902, allocations: 4.125 kB / 0.7904 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.682e-05/0.005929, allocations: 11.98 kB / 0.7904 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.006324, allocations: 285.4 kB / 0.7906 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/0.006408, allocations: 43.08 kB / 0.7907 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.00643, allocations: 18.83 kB / 0.7907 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.006454, allocations: 8 kB / 0.7907 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.874e-05/0.006543, allocations: 61.12 kB / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.006545, allocations: 0 / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001846/0.006729, allocations: 85.55 kB / 0.7908 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.006766, allocations: 55.41 kB / 0.7909 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.007006, allocations: 181.9 kB / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.007023, allocations: 25.7 kB / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.007084, allocations: 139.5 kB / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.007107, allocations: 19.83 kB / 0.7912 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.007156, allocations: 39.88 kB / 0.7913 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.007296, allocations: 0.4895 MB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/0.00732, allocations: 7.984 kB / 0.7918 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.645e-05/0.007377, allocations: 70.19 kB / 0.7918 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.104e-05/0.007468, allocations: 96.72 kB / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.007471, allocations: 0 / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000142/0.007613, allocations: 96.06 kB / 0.792 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.007629, allocations: 8 kB / 0.792 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.007635, allocations: 0 / 0.792 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.007651, allocations: 4 kB / 0.792 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.007763, allocations: 25.23 kB / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.007769, allocations: 4.312 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.007811, allocations: 7.984 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.007822, allocations: 4 kB / 0.7921 GB, free: 7.316 MB / 0.7448 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 8.291e-05/0.007905, allocations: 169.8 kB / 0.7922 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.007921, allocations: 11.89 kB / 0.7922 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.007949, allocations: 8.438 kB / 0.7923 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.007952, allocations: 4 kB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.007955, allocations: 0 / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.00796, allocations: 3.984 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.008239, allocations: 325.8 kB / 0.7926 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.008241, allocations: 0 / 0.7926 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.008274, allocations: 4.562 kB / 0.7926 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.008277, allocations: 0.5 kB / 0.7926 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.008282, allocations: 0.5625 kB / 0.7926 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.008285, allocations: 3.984 kB / 0.7926 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.008286, allocations: 0.5625 kB / 0.7926 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.008426, allocations: 221.3 kB / 0.7928 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.008437, allocations: 7.953 kB / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.008447, allocations: 0 / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.674e-05/0.008504, allocations: 7.984 kB / 0.7928 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.008537, allocations: 4.594 kB / 0.7928 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.008544, allocations: 7.938 kB / 0.7928 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.216e-05/0.008606, allocations: 137 kB / 0.793 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008606, allocations: 0 / 0.793 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002467/0.008853, allocations: 16 kB / 0.793 GB, free: 6.352 MB / 0.7448 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.0001629/0.009015, allocations: 112.1 kB / 0.7931 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.64e-05/0.009112, allocations: 48.64 kB / 0.7931 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009113, allocations: 0 / 0.7931 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.175e-05/0.009145, allocations: 28.44 kB / 0.7931 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.009343, allocations: 15.91 kB / 0.7932 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.009623, allocations: 168 kB / 0.7933 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.638e-05/0.009659, allocations: 60.84 kB / 0.7934 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.009687, allocations: 4.875 kB / 0.7934 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.009743, allocations: 86.19 kB / 0.7935 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/0.009744, allocations: 0 / 0.7935 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of Templates: time 0.00328/0.01302, allocations: 1.128 MB / 0.7946 GB, free: 4.719 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.915916989091784]