Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009884/0.0009884, allocations: 80.39 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.001112/0.001112, allocations: 171.5 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 1.026/1.026, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.905/1.905, allocations: 377.9 MB / 0.6247 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0.9844 kB / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.425e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00193/0.001954, allocations: 0.974 MB / 0.8137 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.003462, allocations: 1.382 MB / 0.8151 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.003527, allocations: 5.688 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.003638, allocations: 19.73 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.342e-05/0.003731, allocations: 51.53 kB / 0.8152 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.004323, allocations: 264.9 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000338/0.004661, allocations: 388.8 kB / 0.8158 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.004798, allocations: 41.78 kB / 0.8158 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.00504, allocations: 231.6 kB / 0.816 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.005179, allocations: 97.92 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.005215, allocations: 24 kB / 0.8162 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-05/0.005302, allocations: 47.92 kB / 0.8162 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.005364, allocations: 51.83 kB / 0.8163 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.215e-05/0.005446, allocations: 92.28 kB / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.005712, allocations: 255.7 kB / 0.8166 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.005715, allocations: 0 / 0.8166 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005716, allocations: 0.8438 kB / 0.8166 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.00572, allocations: 0 / 0.8166 GB, free: 13.59 MB / 0.7761 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.0006269/0.006347, allocations: 0.6209 MB / 0.8172 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.006379, allocations: 13.41 kB / 0.8172 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.006609, allocations: 80.66 kB / 0.8173 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.006837, allocations: 231.6 kB / 0.8175 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.006862, allocations: 16.38 kB / 0.8175 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.00689, allocations: 22.12 kB / 0.8175 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.007104, allocations: 173.2 kB / 0.8177 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.007113, allocations: 192 / 0.8177 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.007131, allocations: 5.562 kB / 0.8177 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.007138, allocations: 4.375 kB / 0.8177 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.518e-05/0.007193, allocations: 35.84 kB / 0.8177 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/0.007812, allocations: 0.9703 MB / 0.8187 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.007923, allocations: 152.1 kB / 0.8188 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.007964, allocations: 55.95 kB / 0.8189 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.007974, allocations: 4 kB / 0.8189 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.008114, allocations: 142 kB / 0.819 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 2.194e-06/0.008116, allocations: 3.984 kB / 0.819 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002205/0.008336, allocations: 137.3 kB / 0.8192 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.008399, allocations: 166.8 kB / 0.8193 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.008549, allocations: 264.2 kB / 0.8196 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.008574, allocations: 38.19 kB / 0.8196 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.00867, allocations: 204.1 kB / 0.8198 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.009, allocations: 35.73 kB / 0.8198 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.009073, allocations: 59.33 kB / 0.8199 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.00919, allocations: 0.5009 MB / 0.8204 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.643e-05/0.009286, allocations: 103.4 kB / 0.8205 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.009424, allocations: 260.2 kB / 0.8207 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.009573, allocations: 206.6 kB / 0.8209 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.009575, allocations: 2.656 kB / 0.8209 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002963/0.009871, allocations: 336.1 kB / 0.8213 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.009914, allocations: 71.39 kB / 0.8213 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.00992, allocations: 5.062 kB / 0.8213 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.009931, allocations: 4 kB / 0.8213 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.01001, allocations: 25.02 kB / 0.8214 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.01002, allocations: 0 / 0.8214 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.01018, allocations: 60.89 kB / 0.8214 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.0102, allocations: 12.78 kB / 0.8214 GB, free: 8.113 MB / 0.7761 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.889e-05/0.0103, allocations: 180.7 kB / 0.8216 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.01032, allocations: 23.86 kB / 0.8216 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.01036, allocations: 29.27 kB / 0.8217 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01036, allocations: 4 kB / 0.8217 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01037, allocations: 0 / 0.8217 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01037, allocations: 1.344 kB / 0.8217 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.0105, allocations: 153.2 kB / 0.8218 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.01051, allocations: 4 kB / 0.8218 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.56e-05/0.01055, allocations: 16.83 kB / 0.8218 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.01056, allocations: 4 kB / 0.8218 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.01056, allocations: 0.6562 kB / 0.8218 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01057, allocations: 7.938 kB / 0.8218 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01057, allocations: 7.625 kB / 0.8218 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.01072, allocations: 178.9 kB / 0.822 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.01074, allocations: 23.84 kB / 0.822 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.01075, allocations: 3.938 kB / 0.822 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.44e-05/0.0108, allocations: 11.98 kB / 0.8221 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.01085, allocations: 19.92 kB / 0.8221 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.01086, allocations: 7.984 kB / 0.8221 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.01094, allocations: 181.1 kB / 0.8222 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01094, allocations: 1.781 kB / 0.8223 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001957/0.01113, allocations: 51.89 kB / 0.8223 GB, free: 7.148 MB / 0.7761 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.0001364/0.01127, allocations: 107.2 kB / 0.8224 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.01153, allocations: 301.1 kB / 0.8227 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01154, allocations: 0 / 0.8227 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.954e-05/0.01159, allocations: 44.28 kB / 0.8227 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.01181, allocations: 58.14 kB / 0.8228 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.01225, allocations: 387.1 kB / 0.8232 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.573e-05/0.01229, allocations: 83.97 kB / 0.8232 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.362e-05/0.01235, allocations: 30.97 kB / 0.8233 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.01251, allocations: 130.1 kB / 0.8234 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of SimCode: time 9.31e-07/0.01251, allocations: 0 / 0.8234 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of Templates: time 0.005796/0.01831, allocations: 3.646 MB / 0.827 GB, free: 2.359 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.333486605901271]