Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001877/0.001877, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002519/0.002519, allocations: 161.3 kB / 23.54 MB, free: 0.8672 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.541/1.541, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.791/2.791, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0.875 kB / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.281e-05/3.549e-05, allocations: 7.031 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002411/0.002446, allocations: 0.7554 MB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002436/0.004883, allocations: 1.191 MB / 0.7883 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.766e-05/0.00496, allocations: 3.938 kB / 0.7883 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.005003, allocations: 4.875 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.005121, allocations: 7.875 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006446/0.005766, allocations: 140.9 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.006014, allocations: 127.7 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.006133, allocations: 17.08 kB / 0.7886 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.006303, allocations: 67.88 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.006427, allocations: 40.56 kB / 0.7887 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.006464, allocations: 12 kB / 0.7887 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/0.006555, allocations: 28.61 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.006589, allocations: 15.97 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.064e-05/0.006669, allocations: 36.78 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.006955, allocations: 151.5 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.006961, allocations: 4.969 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.006962, allocations: 0 / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.006968, allocations: 0 / 0.7889 GB, free: 10.26 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007247/0.007693, allocations: 336.4 kB / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.007741, allocations: 13.03 kB / 0.7892 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.007897, allocations: 16.89 kB / 0.7892 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.008038, allocations: 118.3 kB / 0.7894 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.008058, allocations: 4.375 kB / 0.7894 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.008087, allocations: 17.84 kB / 0.7894 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.00834, allocations: 70.22 kB / 0.7894 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.00835, allocations: 192 / 0.7894 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.008363, allocations: 1.656 kB / 0.7894 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.00837, allocations: 8.062 kB / 0.7895 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.008585, allocations: 50.86 kB / 0.7895 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.009175, allocations: 264.4 kB / 0.7898 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.009383, allocations: 54.55 kB / 0.7898 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.009496, allocations: 32.89 kB / 0.7898 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.009524, allocations: 5.312 kB / 0.7898 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.009806, allocations: 91.38 kB / 0.7899 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.009807, allocations: 0.5312 kB / 0.7899 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0005495/0.01036, allocations: 154.8 kB / 0.7901 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.01041, allocations: 51.41 kB / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.01055, allocations: 123.4 kB / 0.7902 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.01058, allocations: 29.64 kB / 0.7903 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.386e-05/0.01068, allocations: 96.03 kB / 0.7904 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.01071, allocations: 19.89 kB / 0.7904 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/0.0108, allocations: 38.33 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.01101, allocations: 323.5 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.01122, allocations: 82.34 kB / 0.7908 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.01145, allocations: 119.7 kB / 0.7909 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.01177, allocations: 157.9 kB / 0.7911 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01178, allocations: 0 / 0.7911 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005857/0.01236, allocations: 258.5 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.416e-05/0.01242, allocations: 33.7 kB / 0.7914 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01242, allocations: 0 / 0.7914 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.01245, allocations: 4.812 kB / 0.7914 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.01256, allocations: 15.92 kB / 0.7914 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.01257, allocations: 6.312 kB / 0.7914 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.0128, allocations: 43.84 kB / 0.7914 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.01282, allocations: 4 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001322/0.01296, allocations: 123.8 kB / 0.7915 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.01299, allocations: 27.81 kB / 0.7916 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.01336, allocations: 118.1 kB / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01336, allocations: 0.5 kB / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01337, allocations: 0.5 kB / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.01337, allocations: 0 / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.01387, allocations: 324.3 kB / 0.792 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01388, allocations: 0 / 0.792 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/0.01394, allocations: 11.98 kB / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.01395, allocations: 2.406 kB / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01396, allocations: 0 / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01396, allocations: 0 / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01396, allocations: 0 / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.01437, allocations: 231.4 kB / 0.7922 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.01438, allocations: 1.156 kB / 0.7922 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.0144, allocations: 4 kB / 0.7922 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.01449, allocations: 8.547 kB / 0.7922 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.01455, allocations: 7.969 kB / 0.7922 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.01457, allocations: 12.77 kB / 0.7923 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.599e-05/0.01464, allocations: 87.28 kB / 0.7923 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01464, allocations: 0.8438 kB / 0.7923 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002965/0.01494, allocations: 31.94 kB / 0.7924 GB, free: 6.41 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001983/0.01514, allocations: 104 kB / 0.7925 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004578/0.01559, allocations: 196.5 kB / 0.7927 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.0156, allocations: 0 / 0.7927 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.01574, allocations: 43.91 kB / 0.7927 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.01605, allocations: 22.27 kB / 0.7927 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.01653, allocations: 176.8 kB / 0.7929 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.461e-05/0.01661, allocations: 68.28 kB / 0.793 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.733e-05/0.01665, allocations: 9.109 kB / 0.793 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.01669, allocations: 12.5 kB / 0.793 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.01669, allocations: 3.938 kB / 0.793 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of Templates: time 0.005745/0.02243, allocations: 1.558 MB / 0.7945 GB, free: 4.211 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.990552755072713]