Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001438/0.001438, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001063/0.001063, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9492/0.9492, allocations: 177.1 MB / 204.2 MB, free: 5.25 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.728/1.728, allocations: 359 MB / 0.6052 GB, free: 10.98 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.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.08e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00148/0.0015, allocations: 0.9845 MB / 0.7881 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.002905, allocations: 1.387 MB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.338e-05/0.002978, allocations: 4 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.00309, allocations: 19.73 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.003191, allocations: 59.55 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.003834, allocations: 263.4 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.00429, allocations: 383.2 kB / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.004428, allocations: 45.77 kB / 0.7902 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.004674, allocations: 227.6 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.004814, allocations: 104.5 kB / 0.7905 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.004853, allocations: 32.53 kB / 0.7905 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-05/0.004938, allocations: 37.47 kB / 0.7905 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.498e-05/0.005003, allocations: 51.83 kB / 0.7906 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.89e-05/0.005092, allocations: 95.73 kB / 0.7907 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.005421, allocations: 247.2 kB / 0.7909 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005423, allocations: 0.5312 kB / 0.7909 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.72e-07/0.005423, allocations: 1.406 kB / 0.7909 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.005428, allocations: 4 kB / 0.7909 GB, free: 8.582 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006438/0.006072, allocations: 0.6252 MB / 0.7915 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.006109, allocations: 12.03 kB / 0.7915 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.006357, allocations: 88.7 kB / 0.7916 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.006606, allocations: 235.6 kB / 0.7919 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.00663, allocations: 13.97 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.006657, allocations: 20.38 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.006891, allocations: 181.2 kB / 0.7921 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.006902, allocations: 4.797 kB / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.006919, allocations: 14.33 kB / 0.7921 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.006929, allocations: 4.375 kB / 0.7921 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.821e-05/0.007007, allocations: 47.84 kB / 0.7921 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008254/0.007833, allocations: 1.004 MB / 0.7931 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.007949, allocations: 148.9 kB / 0.7932 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.007993, allocations: 54.42 kB / 0.7933 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.008003, allocations: 4.625 kB / 0.7933 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.008142, allocations: 152.3 kB / 0.7934 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.008144, allocations: 0 / 0.7934 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002623/0.008406, allocations: 142.9 kB / 0.7936 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.008472, allocations: 163.4 kB / 0.7937 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.00863, allocations: 268.3 kB / 0.794 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.008655, allocations: 37.7 kB / 0.794 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.259e-05/0.008748, allocations: 199.6 kB / 0.7942 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.008774, allocations: 27.78 kB / 0.7943 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.008847, allocations: 64.36 kB / 0.7943 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.008972, allocations: 0.4962 MB / 0.7948 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.009101, allocations: 120.3 kB / 0.7949 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.00926, allocations: 270.7 kB / 0.7952 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.009426, allocations: 211.5 kB / 0.7954 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.00943, allocations: 0 / 0.7954 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003384/0.009768, allocations: 358.8 kB / 0.7957 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.009808, allocations: 75.33 kB / 0.7958 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.009816, allocations: 4 kB / 0.7958 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.009828, allocations: 5.562 kB / 0.7958 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.505e-05/0.009903, allocations: 19.92 kB / 0.7958 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.00991, allocations: 7.984 kB / 0.7958 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.01006, allocations: 52.88 kB / 0.7959 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004926/0.01055, allocations: 21.39 kB / 0.7959 GB, free: 2.969 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.396e-05/0.01065, allocations: 170.5 kB / 0.7961 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.01068, allocations: 32.89 kB / 0.7961 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.01071, allocations: 25.33 kB / 0.7961 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01071, allocations: 0 / 0.7961 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.01072, allocations: 4.656 kB / 0.7961 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01072, allocations: 0 / 0.7961 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.01086, allocations: 189.5 kB / 0.7963 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01086, allocations: 0 / 0.7963 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.0109, allocations: 23.89 kB / 0.7963 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.0109, allocations: 3.938 kB / 0.7963 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.01091, allocations: 15.88 kB / 0.7963 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01091, allocations: 0 / 0.7963 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.01092, allocations: 4 kB / 0.7963 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.01107, allocations: 171.6 kB / 0.7965 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.01109, allocations: 27.8 kB / 0.7965 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.01111, allocations: 3.938 kB / 0.7965 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.41e-05/0.01115, allocations: 15.97 kB / 0.7965 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.01121, allocations: 21.06 kB / 0.7966 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.01121, allocations: 8 kB / 0.7966 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.972e-05/0.0113, allocations: 181.1 kB / 0.7967 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0113, allocations: 1.031 kB / 0.7968 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002063/0.01151, allocations: 59.88 kB / 0.7968 GB, free: 1.957 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0001165/0.01163, allocations: 104.3 kB / 0.7969 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.01193, allocations: 311.8 kB / 0.7972 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01193, allocations: 4 kB / 0.7972 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.834e-05/0.01199, allocations: 41.23 kB / 0.7972 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.01222, allocations: 49.75 kB / 0.7973 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.01274, allocations: 397.2 kB / 0.7977 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.575e-05/0.01279, allocations: 79.97 kB / 0.7978 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.698e-05/0.01287, allocations: 33.61 kB / 0.7978 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.01291, allocations: 24.5 kB / 0.7978 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01291, allocations: 0 / 0.7978 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of Templates: time 0.005818/0.01873, allocations: 3.58 MB / 0.8013 GB, free: 13.32 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.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.120662832167]