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.001126/0.001126, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.001139/0.001139, allocations: 169 kB / 23.82 MB, free: 0.7383 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.021/1.021, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.953/1.953, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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 1.793e-06/1.793e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.503e-05, allocations: 3.156 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001284/0.001299, allocations: 0.8837 MB / 0.8124 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.002847, allocations: 1.351 MB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.0029, allocations: 0 / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.003015, allocations: 21.05 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.875e-05/0.003083, allocations: 35.72 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.003625, allocations: 251.4 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.003905, allocations: 333.8 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.004041, allocations: 41.64 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.004208, allocations: 179.8 kB / 0.8145 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.00434, allocations: 91.72 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.004376, allocations: 28 kB / 0.8147 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-05/0.004463, allocations: 44 kB / 0.8147 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.004527, allocations: 48.33 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.004615, allocations: 92.5 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.004867, allocations: 243.2 kB / 0.8151 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004869, allocations: 5.125 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004869, allocations: 0 / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.004874, allocations: 0 / 0.8151 GB, free: 14.11 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.0005243/0.005398, allocations: 0.5748 MB / 0.8156 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.005432, allocations: 8.031 kB / 0.8156 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.005668, allocations: 76.75 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.006025, allocations: 237.7 kB / 0.8159 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.00605, allocations: 16.36 kB / 0.8159 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.006079, allocations: 20.38 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.006235, allocations: 143.7 kB / 0.8161 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.006247, allocations: 192 / 0.8161 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.006259, allocations: 4.375 kB / 0.8161 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.00627, allocations: 8.656 kB / 0.8161 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.915e-05/0.006329, allocations: 35.91 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.006929, allocations: 0.8374 MB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.246e-05/0.007001, allocations: 66.98 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.00703, allocations: 27.36 kB / 0.8171 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.007036, allocations: 0.5312 kB / 0.8171 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.007156, allocations: 109.7 kB / 0.8172 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.007157, allocations: 3.938 kB / 0.8172 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.000203/0.00736, allocations: 109.5 kB / 0.8173 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.007396, allocations: 86.25 kB / 0.8174 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.007549, allocations: 262.7 kB / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.007573, allocations: 33.7 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.274e-05/0.007656, allocations: 191.7 kB / 0.8178 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.007671, allocations: 23.83 kB / 0.8178 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.007757, allocations: 71.92 kB / 0.8179 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.007865, allocations: 0.4971 MB / 0.8184 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.007974, allocations: 115.4 kB / 0.8185 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.008116, allocations: 255.6 kB / 0.8188 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.008261, allocations: 203.6 kB / 0.8189 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008263, allocations: 0 / 0.8189 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003088/0.008572, allocations: 350.6 kB / 0.8193 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.008611, allocations: 75.33 kB / 0.8194 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.008615, allocations: 0 / 0.8194 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.008631, allocations: 4 kB / 0.8194 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.008681, allocations: 13.02 kB / 0.8194 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.008689, allocations: 0 / 0.8194 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.00883, allocations: 43.23 kB / 0.8194 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.008852, allocations: 19.98 kB / 0.8194 GB, free: 9.211 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],conInt3.y,conInt2.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 8.552e-05/0.008937, allocations: 175.7 kB / 0.8196 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.008954, allocations: 19.84 kB / 0.8196 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.008988, allocations: 21.02 kB / 0.8196 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.00899, allocations: 0.5 kB / 0.8196 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.008993, allocations: 0 / 0.8196 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008997, allocations: 1.938 kB / 0.8196 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.009103, allocations: 176.6 kB / 0.8198 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.009104, allocations: 0 / 0.8198 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.217e-05/0.009116, allocations: 4 kB / 0.8198 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.009117, allocations: 0 / 0.8198 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.009125, allocations: 5.031 kB / 0.8198 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.009128, allocations: 15.86 kB / 0.8198 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.00913, allocations: 4 kB / 0.8198 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.009492, allocations: 144.6 kB / 0.82 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.009505, allocations: 11.91 kB / 0.82 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.009519, allocations: 10.25 kB / 0.82 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.7e-05/0.009536, allocations: 4 kB / 0.82 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.009562, allocations: 3.984 kB / 0.82 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.009568, allocations: 4 kB / 0.82 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.851e-05/0.009646, allocations: 177.4 kB / 0.8202 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009646, allocations: 4 kB / 0.8202 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001714/0.009817, allocations: 42.97 kB / 0.8202 GB, free: 8.344 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.0001028/0.00992, allocations: 111.2 kB / 0.8203 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.01017, allocations: 286.2 kB / 0.8206 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01017, allocations: 4 kB / 0.8206 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.401e-05/0.0102, allocations: 32.83 kB / 0.8206 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.01039, allocations: 38.28 kB / 0.8207 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.01074, allocations: 298.6 kB / 0.821 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.675e-05/0.01078, allocations: 73.02 kB / 0.821 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.321e-05/0.01082, allocations: 22.72 kB / 0.821 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.01085, allocations: 21.22 kB / 0.8211 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01085, allocations: 0 / 0.8211 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of Templates: time 0.004433/0.01528, allocations: 2.664 MB / 0.8237 GB, free: 4.797 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.334259690251201]