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.001045/0.001045, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001347/0.001347, allocations: 161 kB / 23.82 MB, free: 0.75 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.9125/0.9125, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.813/1.813, allocations: 359 MB / 0.6052 GB, free: 11.01 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 1.593e-06/1.593e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.86e-05, allocations: 9.062 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001296/0.001315, allocations: 0.7593 MB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.002454, allocations: 1.214 MB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.0025, allocations: 0 / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.00253, allocations: 7.922 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.963e-05/0.002609, allocations: 12.94 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.003093, allocations: 141 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.003251, allocations: 123.8 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.003353, allocations: 16.16 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.00347, allocations: 73.08 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.003551, allocations: 39.86 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.003574, allocations: 8 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.241e-05/0.003646, allocations: 33.23 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.00367, allocations: 15.97 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.003719, allocations: 35.92 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.003874, allocations: 111.7 kB / 0.7896 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003876, allocations: 0.9688 kB / 0.7896 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.82e-07/0.003877, allocations: 0 / 0.7896 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.003881, allocations: 0.75 kB / 0.7896 GB, free: 9.902 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.000476/0.004357, allocations: 438.1 kB / 0.79 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.004395, allocations: 10.5 kB / 0.79 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.004507, allocations: 20.81 kB / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.194e-05/0.004589, allocations: 116.5 kB / 0.7902 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.004605, allocations: 8.375 kB / 0.7902 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.004622, allocations: 8.375 kB / 0.7902 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.004752, allocations: 70.92 kB / 0.7903 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.00476, allocations: 1.938 kB / 0.7903 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.004771, allocations: 8.375 kB / 0.7903 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.004779, allocations: 4.125 kB / 0.7903 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.797e-05/0.004817, allocations: 19.86 kB / 0.7903 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.005194, allocations: 328.2 kB / 0.7906 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.021e-05/0.005285, allocations: 51.8 kB / 0.7906 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/0.00531, allocations: 16.16 kB / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.005325, allocations: 0 / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.459e-05/0.00542, allocations: 78.8 kB / 0.7907 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.005421, allocations: 0 / 0.7907 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001941/0.005615, allocations: 105.6 kB / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.005645, allocations: 51.41 kB / 0.7909 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.005719, allocations: 182.4 kB / 0.7911 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.005736, allocations: 30.3 kB / 0.7911 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.005786, allocations: 139.6 kB / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.005806, allocations: 27.81 kB / 0.7913 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.005855, allocations: 43.36 kB / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.005954, allocations: 0.4934 MB / 0.7918 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.479e-05/0.006019, allocations: 57.69 kB / 0.7918 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.023e-05/0.006099, allocations: 111.8 kB / 0.7919 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.006205, allocations: 138.8 kB / 0.7921 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.006208, allocations: 0 / 0.7921 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002017/0.00641, allocations: 214.1 kB / 0.7923 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.006435, allocations: 37.7 kB / 0.7923 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.00644, allocations: 320 / 0.7923 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.006452, allocations: 5.281 kB / 0.7923 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.879e-05/0.00652, allocations: 15.98 kB / 0.7923 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.006525, allocations: 0 / 0.7923 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-05/0.006606, allocations: 33.7 kB / 0.7924 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.00662, allocations: 11.98 kB / 0.7924 GB, free: 6.789 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 7.224e-05/0.006692, allocations: 167.1 kB / 0.7925 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.006707, allocations: 19.88 kB / 0.7926 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.00682, allocations: 90.05 kB / 0.7926 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006822, allocations: 0 / 0.7926 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.006825, allocations: 0 / 0.7926 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.006828, allocations: 0 / 0.7926 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.007011, allocations: 349.3 kB / 0.793 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007013, allocations: 0.5 kB / 0.793 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.007038, allocations: 4.531 kB / 0.793 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.00704, allocations: 0 / 0.793 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.007051, allocations: 9.938 kB / 0.793 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.007054, allocations: 0 / 0.793 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007055, allocations: 0 / 0.793 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.007171, allocations: 239.8 kB / 0.7932 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.00718, allocations: 11.89 kB / 0.7932 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.007191, allocations: 10.58 kB / 0.7932 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.281e-05/0.007224, allocations: 4 kB / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.007257, allocations: 8.031 kB / 0.7932 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.007263, allocations: 3.984 kB / 0.7932 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.007302, allocations: 135.2 kB / 0.7934 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007302, allocations: 0 / 0.7934 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001635/0.007466, allocations: 28 kB / 0.7934 GB, free: 5.664 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 9.518e-05/0.007561, allocations: 108.6 kB / 0.7935 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001815/0.007743, allocations: 165.5 kB / 0.7937 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.007744, allocations: 1.281 kB / 0.7937 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.468e-05/0.007778, allocations: 31.61 kB / 0.7937 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.00796, allocations: 21.64 kB / 0.7937 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.008392, allocations: 178.2 kB / 0.7939 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.553e-05/0.008428, allocations: 66.39 kB / 0.794 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.212e-05/0.00845, allocations: 7.984 kB / 0.794 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.008471, allocations: 12.5 kB / 0.794 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.008472, allocations: 0 / 0.794 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of Templates: time 0.003129/0.0116, allocations: 1.696 MB / 0.7956 GB, free: 3.371 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=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: 4.844294224865735]