Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.001155/0.001155, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001555/0.001555, allocations: 169 kB / 24.28 MB, free: 276 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 1.004/1.004, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.905/1.905, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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.SampleTriggerNegativeStartTime,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.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,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.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.616e-06/3.616e-06, allocations: 4 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.528e-05, allocations: 4.703 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001589/0.001624, allocations: 0.7466 MB / 0.7879 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.002815, allocations: 1.121 MB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.002867, allocations: 4 kB / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.002897, allocations: 3.938 kB / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.014e-05/0.002967, allocations: 11.86 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.003268, allocations: 60.56 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.003374, allocations: 67.78 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.003489, allocations: 16.8 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.00359, allocations: 47.89 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.00364, allocations: 25.25 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.003659, allocations: 8 kB / 0.7892 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.589e-05/0.003714, allocations: 15.98 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.003738, allocations: 15.97 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.00377, allocations: 17.28 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.003906, allocations: 63.78 kB / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003908, allocations: 0 / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003909, allocations: 1.062 kB / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.003914, allocations: 4 kB / 0.7893 GB, free: 10.56 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.0004431/0.004357, allocations: 400.3 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.004398, allocations: 9.438 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.004453, allocations: 12.89 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.982e-05/0.004553, allocations: 120.5 kB / 0.7898 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.004566, allocations: 5.969 kB / 0.7898 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.00458, allocations: 8.375 kB / 0.7898 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.004727, allocations: 70.92 kB / 0.7899 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.004735, allocations: 192 / 0.7899 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.004746, allocations: 5.938 kB / 0.7899 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.004756, allocations: 4.125 kB / 0.7899 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.455e-05/0.00479, allocations: 11.98 kB / 0.7899 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.005248, allocations: 302.3 kB / 0.7902 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.005353, allocations: 47.08 kB / 0.7902 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.00538, allocations: 15.62 kB / 0.7903 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.0054, allocations: 8.062 kB / 0.7903 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.213e-05/0.005493, allocations: 69.05 kB / 0.7903 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.005494, allocations: 0 / 0.7903 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002053/0.005699, allocations: 86.25 kB / 0.7904 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.005741, allocations: 51.41 kB / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.005841, allocations: 187.5 kB / 0.7906 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.005854, allocations: 25.7 kB / 0.7907 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.005916, allocations: 146.8 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.005932, allocations: 11.84 kB / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.005975, allocations: 40.73 kB / 0.7909 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.006096, allocations: 496.1 kB / 0.7913 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.006127, allocations: 11.98 kB / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.767e-05/0.006185, allocations: 69.8 kB / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.659e-05/0.006282, allocations: 96.22 kB / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.006284, allocations: 1.75 kB / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001374/0.006422, allocations: 105.9 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.006441, allocations: 5.031 kB / 0.7916 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.006447, allocations: 4 kB / 0.7916 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.006463, allocations: 0 / 0.7916 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.006564, allocations: 21.8 kB / 0.7916 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.006571, allocations: 4.312 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.699e-05/0.006608, allocations: 4 kB / 0.7916 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.00662, allocations: 8 kB / 0.7917 GB, free: 7.895 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.616e-05/0.006706, allocations: 168.6 kB / 0.7918 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.006722, allocations: 15.88 kB / 0.7918 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.006748, allocations: 16.38 kB / 0.7918 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.00675, allocations: 0 / 0.7918 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.006755, allocations: 0 / 0.7918 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.006759, allocations: 0.5625 kB / 0.7918 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.007057, allocations: 345.3 kB / 0.7922 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007059, allocations: 4.469 kB / 0.7922 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/0.007087, allocations: 4.719 kB / 0.7922 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.00709, allocations: 0 / 0.7922 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.0071, allocations: 12.52 kB / 0.7922 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007101, allocations: 5.5 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007102, allocations: 0 / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.007238, allocations: 219.9 kB / 0.7924 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.007251, allocations: 7.953 kB / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.007262, allocations: 0.5312 kB / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.004e-05/0.007302, allocations: 7.984 kB / 0.7924 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.007341, allocations: 4.906 kB / 0.7924 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.007349, allocations: 7.984 kB / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.007395, allocations: 136 kB / 0.7926 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007395, allocations: 0 / 0.7926 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001863/0.007581, allocations: 17.33 kB / 0.7926 GB, free: 6.883 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.0001557/0.007737, allocations: 103.2 kB / 0.7927 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.007869, allocations: 48.78 kB / 0.7927 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.00787, allocations: 1.812 kB / 0.7927 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.007907, allocations: 23.62 kB / 0.7928 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.008138, allocations: 23.86 kB / 0.7928 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.008485, allocations: 167.5 kB / 0.7929 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.008527, allocations: 62.81 kB / 0.793 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.629e-05/0.008553, allocations: 4 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.00858, allocations: 12.5 kB / 0.793 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of SimCode: time 1.032e-06/0.008581, allocations: 0 / 0.793 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of Templates: time 0.003339/0.01192, allocations: 1.043 MB / 0.794 GB, free: 5.418 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.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.441443408140913]