Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001125/0.001125, 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.001039/0.001039, allocations: 164.5 kB / 24.86 MB, free: 8.891 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.9991/0.9991, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.998/1.998, allocations: 377.9 MB / 0.6247 GB, free: 8.441 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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.769e-06/4.769e-06, allocations: 3.984 kB / 0.8128 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.511e-05, allocations: 5.984 kB / 0.8128 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.0028/0.002836, allocations: 0.8633 MB / 0.8136 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002271/0.005107, allocations: 1.351 MB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.005217, allocations: 3.938 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.005363, allocations: 17.5 kB / 0.815 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.005485, allocations: 39.7 kB / 0.815 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009168/0.006402, allocations: 251.4 kB / 0.8152 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.0069, allocations: 328.7 kB / 0.8156 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.007085, allocations: 37.66 kB / 0.8156 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003671/0.007452, allocations: 199.6 kB / 0.8158 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.007688, allocations: 81.36 kB / 0.8159 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.847e-05/0.007757, allocations: 24 kB / 0.8159 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.007897, allocations: 43.97 kB / 0.8159 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.00798, allocations: 36.58 kB / 0.816 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.008102, allocations: 83.8 kB / 0.816 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.008479, allocations: 223.8 kB / 0.8163 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.008482, allocations: 1.656 kB / 0.8163 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.144e-06/0.008484, allocations: 0 / 0.8163 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.008492, allocations: 0 / 0.8163 GB, free: 13.94 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008024/0.009294, allocations: 0.5693 MB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.009336, allocations: 8.688 kB / 0.8168 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/0.009701, allocations: 65.98 kB / 0.8169 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.01002, allocations: 220.1 kB / 0.8171 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.01006, allocations: 12.38 kB / 0.8171 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.0101, allocations: 20.38 kB / 0.8171 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.0103, allocations: 142.7 kB / 0.8173 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.01032, allocations: 192 / 0.8173 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.01033, allocations: 384 / 0.8173 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.01034, allocations: 9.75 kB / 0.8173 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.418e-05/0.01041, allocations: 35.84 kB / 0.8173 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007899/0.0112, allocations: 0.7915 MB / 0.8181 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.01131, allocations: 66.11 kB / 0.8181 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.01134, allocations: 27.42 kB / 0.8182 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.01135, allocations: 0 / 0.8182 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.01152, allocations: 102.1 kB / 0.8183 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.01152, allocations: 0 / 0.8183 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002982/0.01182, allocations: 113.4 kB / 0.8184 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.01189, allocations: 81.86 kB / 0.8185 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.01212, allocations: 262.6 kB / 0.8187 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.01216, allocations: 36.02 kB / 0.8187 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.01229, allocations: 194.9 kB / 0.8189 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.01231, allocations: 11.89 kB / 0.8189 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.01244, allocations: 75.31 kB / 0.819 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.0126, allocations: 0.5001 MB / 0.8195 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.01275, allocations: 103.4 kB / 0.8196 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.01295, allocations: 253.6 kB / 0.8198 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.01317, allocations: 189.2 kB / 0.82 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.01317, allocations: 4.438 kB / 0.82 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004737/0.01364, allocations: 330 kB / 0.8203 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.81e-05/0.01371, allocations: 70.05 kB / 0.8204 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.01372, allocations: 10.39 kB / 0.8204 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01374, allocations: 3.938 kB / 0.8204 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/0.0138, allocations: 12 kB / 0.8204 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.01381, allocations: 7.938 kB / 0.8204 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.01407, allocations: 49.06 kB / 0.8205 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.01411, allocations: 12 kB / 0.8205 GB, free: 9.176 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt2.y,conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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 0.000147/0.01425, allocations: 173.1 kB / 0.8207 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.01429, allocations: 16.69 kB / 0.8207 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.01434, allocations: 13.03 kB / 0.8207 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.01434, allocations: 9.25 kB / 0.8207 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01434, allocations: 0 / 0.8207 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.01435, allocations: 7.547 kB / 0.8207 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.01452, allocations: 145.1 kB / 0.8208 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01452, allocations: 0 / 0.8208 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.01455, allocations: 7.938 kB / 0.8208 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.01456, allocations: 3.984 kB / 0.8208 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.01457, allocations: 0 / 0.8208 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.01457, allocations: 7.984 kB / 0.8209 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01457, allocations: 0 / 0.8209 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.01478, allocations: 135.9 kB / 0.821 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.01481, allocations: 19.89 kB / 0.821 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.01483, allocations: 2.094 kB / 0.821 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.079e-05/0.01487, allocations: 0 / 0.821 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.01491, allocations: 15.92 kB / 0.821 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.01492, allocations: 4 kB / 0.821 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001049/0.01502, allocations: 173.3 kB / 0.8212 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01502, allocations: 0 / 0.8212 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003143/0.01533, allocations: 44.86 kB / 0.8212 GB, free: 8.359 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.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): 6 * 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.0001742/0.01551, allocations: 112.4 kB / 0.8213 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.01585, allocations: 278.8 kB / 0.8216 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.01586, allocations: 4 kB / 0.8216 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.0159, allocations: 28.73 kB / 0.8216 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.01621, allocations: 38.34 kB / 0.8217 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000596/0.01681, allocations: 302.5 kB / 0.822 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.723e-05/0.01688, allocations: 71.98 kB / 0.822 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.425e-05/0.01696, allocations: 19.16 kB / 0.8221 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.01716, allocations: 118.7 kB / 0.8222 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of SimCode: time 1.483e-06/0.01716, allocations: 1.344 kB / 0.8222 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of Templates: time 0.005996/0.02316, allocations: 2.909 MB / 0.825 GB, free: 4.484 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.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.3601043610833585]