Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0009591/0.0009591, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009471/0.0009471, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9605/0.9605, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.801/1.801, allocations: 359 MB / 0.6052 GB, free: 11.02 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.SampleTrigger,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.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,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.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.766e-05, allocations: 12.78 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001661/0.001688, allocations: 0.7558 MB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.002867, allocations: 1.116 MB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.002914, allocations: 4.75 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.002947, allocations: 7.922 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.063e-05/0.003028, allocations: 17.22 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.003371, allocations: 51.81 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.003633, allocations: 75.7 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.003755, allocations: 17.19 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.003859, allocations: 43.89 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.952e-05/0.003919, allocations: 23.97 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.00394, allocations: 5.562 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.929e-05/0.00401, allocations: 15.98 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.004037, allocations: 23.91 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.004077, allocations: 19.92 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.004242, allocations: 65.34 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.004246, allocations: 0 / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.834e-06/0.004248, allocations: 0 / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.004254, allocations: 0 / 0.7893 GB, free: 10.21 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.0004622/0.004716, allocations: 393.4 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.004756, allocations: 8.031 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.004811, allocations: 29.31 kB / 0.7897 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.871e-05/0.0049, allocations: 116.5 kB / 0.7898 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.004912, allocations: 4.906 kB / 0.7898 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.004928, allocations: 9.562 kB / 0.7898 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.005074, allocations: 66.88 kB / 0.7899 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.005082, allocations: 192 / 0.7899 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.005093, allocations: 2.531 kB / 0.7899 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.005102, allocations: 7.938 kB / 0.7899 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.088e-05/0.005132, allocations: 15.92 kB / 0.7899 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.005622, allocations: 299.7 kB / 0.7902 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.00574, allocations: 49.14 kB / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.005769, allocations: 15.62 kB / 0.7903 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.005791, allocations: 0 / 0.7903 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.005899, allocations: 65.17 kB / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.0059, allocations: 0 / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002107/0.006111, allocations: 90.28 kB / 0.7904 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.006161, allocations: 59.39 kB / 0.7905 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.579e-05/0.006257, allocations: 174.5 kB / 0.7907 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.00627, allocations: 27.36 kB / 0.7907 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.00633, allocations: 142.8 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.00635, allocations: 19.84 kB / 0.7908 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.006396, allocations: 39.3 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.006522, allocations: 0.4929 MB / 0.7914 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.006551, allocations: 4 kB / 0.7914 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/0.006608, allocations: 74.86 kB / 0.7914 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.243e-05/0.006701, allocations: 96.2 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.006703, allocations: 0 / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001382/0.006842, allocations: 107.2 kB / 0.7916 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.006859, allocations: 8 kB / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.006864, allocations: 1.469 kB / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.006879, allocations: 4 kB / 0.7916 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.006985, allocations: 19.92 kB / 0.7917 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.006992, allocations: 4 kB / 0.7917 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/0.007027, allocations: 5.281 kB / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.007041, allocations: 11.98 kB / 0.7917 GB, free: 7.535 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 9.006e-05/0.007131, allocations: 165.1 kB / 0.7918 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.007148, allocations: 15.89 kB / 0.7918 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.007174, allocations: 4.438 kB / 0.7919 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.007178, allocations: 4 kB / 0.7919 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.007182, allocations: 0 / 0.7919 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.007186, allocations: 0 / 0.7919 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.00748, allocations: 337.6 kB / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.007483, allocations: 4 kB / 0.7922 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.453e-05/0.007517, allocations: 12.42 kB / 0.7922 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.007521, allocations: 1.938 kB / 0.7922 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.007529, allocations: 4 kB / 0.7922 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.007531, allocations: 4.078 kB / 0.7922 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.007534, allocations: 3.984 kB / 0.7922 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.007674, allocations: 223.8 kB / 0.7924 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-06/0.007684, allocations: 7.953 kB / 0.7924 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.007697, allocations: 6.547 kB / 0.7924 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.007736, allocations: 11.94 kB / 0.7924 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.007775, allocations: 7.984 kB / 0.7925 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.007781, allocations: 0 / 0.7925 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003726/0.008154, allocations: 135.2 kB / 0.7926 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008154, allocations: 3.938 kB / 0.7926 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001913/0.008345, allocations: 12.84 kB / 0.7926 GB, free: 6.531 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.000154/0.008499, allocations: 104.1 kB / 0.7927 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.008634, allocations: 53.8 kB / 0.7927 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.008636, allocations: 4 kB / 0.7928 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.519e-05/0.008671, allocations: 20.52 kB / 0.7928 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.008887, allocations: 16.91 kB / 0.7928 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.009242, allocations: 167.2 kB / 0.7929 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.304e-05/0.009285, allocations: 62.16 kB / 0.793 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.648e-05/0.009311, allocations: 4 kB / 0.793 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.009341, allocations: 16.48 kB / 0.793 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of SimCode: time 9.02e-07/0.009342, allocations: 0 / 0.793 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of Templates: time 0.003173/0.01251, allocations: 1.103 MB / 0.7941 GB, free: 4.961 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.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.977402821183205]