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.001518/0.001518, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.00168/0.00168, allocations: 166 kB / 24.87 MB, free: 9.258 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.9841/0.9841, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.875/1.875, allocations: 359 MB / 0.6063 GB, free: 10.85 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.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.885e-06/2.885e-06, allocations: 0 / 0.7883 GB, free: 11.13 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.583e-05, allocations: 6.875 kB / 0.7883 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001673/0.001709, allocations: 0.7711 MB / 0.789 GB, free: 10.37 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.003173, allocations: 1.201 MB / 0.7902 GB, free: 9.152 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.003235, allocations: 4 kB / 0.7902 GB, free: 9.148 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.182e-05/0.003277, allocations: 7.922 kB / 0.7902 GB, free: 9.141 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.589e-05/0.003373, allocations: 12.36 kB / 0.7902 GB, free: 9.129 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.00384, allocations: 137.6 kB / 0.7904 GB, free: 8.996 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.004026, allocations: 123.7 kB / 0.7905 GB, free: 8.875 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.004145, allocations: 24.16 kB / 0.7905 GB, free: 8.848 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.00427, allocations: 69.28 kB / 0.7906 GB, free: 8.781 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.004361, allocations: 39.88 kB / 0.7906 GB, free: 8.742 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.004385, allocations: 15.94 kB / 0.7906 GB, free: 8.727 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.613e-05/0.004461, allocations: 31.92 kB / 0.7907 GB, free: 8.695 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.00449, allocations: 17.03 kB / 0.7907 GB, free: 8.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.004536, allocations: 31.92 kB / 0.7907 GB, free: 8.648 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.004723, allocations: 107.7 kB / 0.7908 GB, free: 8.543 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.004726, allocations: 1.562 kB / 0.7908 GB, free: 8.543 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.413e-06/0.004728, allocations: 0 / 0.7908 GB, free: 8.543 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.004733, allocations: 0 / 0.7908 GB, free: 8.543 MB / 0.698 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.0005015/0.005234, allocations: 439.1 kB / 0.7912 GB, free: 8.074 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.005275, allocations: 11.97 kB / 0.7912 GB, free: 8.062 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.005398, allocations: 24.81 kB / 0.7913 GB, free: 8.039 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.329e-05/0.005491, allocations: 112.6 kB / 0.7914 GB, free: 7.902 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.00551, allocations: 10.31 kB / 0.7914 GB, free: 7.895 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.005526, allocations: 8.375 kB / 0.7914 GB, free: 7.887 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.005651, allocations: 66.92 kB / 0.7915 GB, free: 7.812 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.005659, allocations: 4.188 kB / 0.7915 GB, free: 7.809 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.005667, allocations: 4.312 kB / 0.7915 GB, free: 7.805 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.005674, allocations: 6.406 kB / 0.7915 GB, free: 7.801 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.005701, allocations: 11.98 kB / 0.7915 GB, free: 7.789 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.006092, allocations: 300.2 kB / 0.7918 GB, free: 7.469 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.271e-05/0.006185, allocations: 51.08 kB / 0.7918 GB, free: 7.406 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.006206, allocations: 20.25 kB / 0.7918 GB, free: 7.383 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.006223, allocations: 0 / 0.7918 GB, free: 7.383 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.006332, allocations: 78.75 kB / 0.7919 GB, free: 7.293 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.006333, allocations: 0 / 0.7919 GB, free: 7.293 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0001924/0.006526, allocations: 105.5 kB / 0.792 GB, free: 7.184 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.006562, allocations: 51.41 kB / 0.7921 GB, free: 7.121 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.00699, allocations: 175.2 kB / 0.7922 GB, free: 6.934 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.007014, allocations: 33.7 kB / 0.7923 GB, free: 6.895 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.007075, allocations: 142.8 kB / 0.7924 GB, free: 6.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.007095, allocations: 21 kB / 0.7924 GB, free: 6.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.007152, allocations: 47.33 kB / 0.7925 GB, free: 6.676 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.007284, allocations: 496.1 kB / 0.7929 GB, free: 6.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.00735, allocations: 55.05 kB / 0.793 GB, free: 6.121 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.016e-05/0.00743, allocations: 115.8 kB / 0.7931 GB, free: 5.977 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.007538, allocations: 133.4 kB / 0.7932 GB, free: 5.816 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.00754, allocations: 4 kB / 0.7932 GB, free: 5.812 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002307/0.007771, allocations: 198.3 kB / 0.7934 GB, free: 5.602 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.007815, allocations: 41.69 kB / 0.7935 GB, free: 5.555 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.007822, allocations: 1.938 kB / 0.7935 GB, free: 5.555 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.007835, allocations: 4 kB / 0.7935 GB, free: 5.551 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.007921, allocations: 12 kB / 0.7935 GB, free: 5.539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.007928, allocations: 7.922 kB / 0.7935 GB, free: 5.531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.494e-05/0.008023, allocations: 26.31 kB / 0.7935 GB, free: 5.508 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.008042, allocations: 12 kB / 0.7935 GB, free: 5.496 MB / 0.698 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 9.208e-05/0.008134, allocations: 167 kB / 0.7937 GB, free: 5.324 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.00815, allocations: 15.89 kB / 0.7937 GB, free: 5.309 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.008294, allocations: 83.14 kB / 0.7938 GB, free: 5.223 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.008296, allocations: 3.938 kB / 0.7938 GB, free: 5.219 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.008299, allocations: 0.5312 kB / 0.7938 GB, free: 5.219 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.008304, allocations: 4 kB / 0.7938 GB, free: 5.215 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.008527, allocations: 311.8 kB / 0.7941 GB, free: 4.879 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.008533, allocations: 7.922 kB / 0.7941 GB, free: 4.871 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/0.008576, allocations: 8 kB / 0.7941 GB, free: 4.863 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.008579, allocations: 3.938 kB / 0.7941 GB, free: 4.859 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.008586, allocations: 4.656 kB / 0.7941 GB, free: 4.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.008587, allocations: 0 / 0.7941 GB, free: 4.855 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.008589, allocations: 0.9062 kB / 0.7941 GB, free: 4.855 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.008736, allocations: 235.8 kB / 0.7943 GB, free: 4.605 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.008748, allocations: 12.72 kB / 0.7943 GB, free: 4.594 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.008759, allocations: 3.984 kB / 0.7943 GB, free: 4.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.931e-05/0.008799, allocations: 9.281 kB / 0.7943 GB, free: 4.582 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.00884, allocations: 11.98 kB / 0.7944 GB, free: 4.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.008847, allocations: 0 / 0.7944 GB, free: 4.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.0089, allocations: 131.2 kB / 0.7945 GB, free: 4.441 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.0089, allocations: 0.7188 kB / 0.7945 GB, free: 4.441 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001946/0.009094, allocations: 27.95 kB / 0.7945 GB, free: 4.414 MB / 0.698 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.0001532/0.009248, allocations: 109.7 kB / 0.7946 GB, free: 4.301 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.009427, allocations: 156.6 kB / 0.7948 GB, free: 4.125 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009429, allocations: 0 / 0.7948 GB, free: 4.125 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.511e-05/0.009464, allocations: 28.73 kB / 0.7948 GB, free: 4.094 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.009687, allocations: 20.08 kB / 0.7948 GB, free: 4.078 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.01016, allocations: 178.5 kB / 0.795 GB, free: 3.875 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.197e-05/0.0102, allocations: 59.95 kB / 0.795 GB, free: 3.797 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.01023, allocations: 4 kB / 0.795 GB, free: 3.793 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.019e-05/0.01032, allocations: 90.17 kB / 0.7951 GB, free: 3.703 MB / 0.698 GB Notification: Performance of SimCode: time 7.22e-07/0.01032, allocations: 8.438 kB / 0.7951 GB, free: 3.695 MB / 0.698 GB Notification: Performance of Templates: time 0.003781/0.0141, allocations: 1.733 MB / 0.7968 GB, free: 2.02 MB / 0.698 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] 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","",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.262177898082882]