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.0009661/0.0009661, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.001144/0.001144, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9866/0.9866, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.874/1.874, allocations: 377.9 MB / 0.624 GB, free: 8.445 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.104e-06/2.104e-06, allocations: 0 / 0.812 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.209e-05, allocations: 7.125 kB / 0.812 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002293/0.002325, allocations: 0.8743 MB / 0.8129 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004522/0.006847, allocations: 1.342 MB / 0.8142 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.006969, allocations: 5.25 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.007115, allocations: 15.75 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.007223, allocations: 43.7 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008197/0.008043, allocations: 253.3 kB / 0.8145 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.008455, allocations: 331.3 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.00861, allocations: 37.67 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.00891, allocations: 195.6 kB / 0.815 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.00909, allocations: 85.16 kB / 0.8151 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.009138, allocations: 20 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.00925, allocations: 41.58 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.009318, allocations: 47.78 kB / 0.8152 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.922e-05/0.009417, allocations: 79.81 kB / 0.8153 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.009737, allocations: 223.2 kB / 0.8155 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.009741, allocations: 0.7188 kB / 0.8155 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.333e-06/0.009743, allocations: 4.531 kB / 0.8155 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.00975, allocations: 0 / 0.8155 GB, free: 13.93 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.0007298/0.01048, allocations: 0.5786 MB / 0.8161 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.01052, allocations: 12.03 kB / 0.8161 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.01083, allocations: 60.77 kB / 0.8161 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.0111, allocations: 208.8 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.01113, allocations: 12.38 kB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.01117, allocations: 17.69 kB / 0.8164 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.01135, allocations: 141.6 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.01136, allocations: 4.188 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.01137, allocations: 5.531 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.01138, allocations: 8.312 kB / 0.8165 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.844e-05/0.01144, allocations: 31.84 kB / 0.8165 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.01212, allocations: 0.791 MB / 0.8173 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.241e-05/0.01221, allocations: 66.22 kB / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.01224, allocations: 24.98 kB / 0.8174 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.01224, allocations: 0 / 0.8174 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.0124, allocations: 114.3 kB / 0.8175 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.0124, allocations: 0 / 0.8175 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002465/0.01265, allocations: 109.4 kB / 0.8176 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.01269, allocations: 81.11 kB / 0.8177 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.01288, allocations: 258.6 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.01293, allocations: 33.7 kB / 0.818 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.01304, allocations: 197.2 kB / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.01305, allocations: 11.91 kB / 0.8182 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.01316, allocations: 71.31 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.01332, allocations: 0.5001 MB / 0.8187 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.01344, allocations: 103.4 kB / 0.8188 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.01361, allocations: 251.6 kB / 0.8191 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.0138, allocations: 195.7 kB / 0.8192 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.0138, allocations: 4 kB / 0.8192 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003833/0.01419, allocations: 330.3 kB / 0.8196 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/0.01424, allocations: 74.05 kB / 0.8196 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01425, allocations: 4 kB / 0.8196 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.01427, allocations: 4.469 kB / 0.8196 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.01433, allocations: 11.94 kB / 0.8197 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.01433, allocations: 5 kB / 0.8197 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.01455, allocations: 44.59 kB / 0.8197 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.01458, allocations: 13.03 kB / 0.8197 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.0001225/0.0147, allocations: 173.9 kB / 0.8199 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.01473, allocations: 15.91 kB / 0.8199 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.01477, allocations: 14.56 kB / 0.8199 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.01477, allocations: 11.86 kB / 0.8199 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01478, allocations: 11.92 kB / 0.8199 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01478, allocations: 0 / 0.8199 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.01493, allocations: 146.1 kB / 0.8201 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01493, allocations: 0 / 0.8201 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.01495, allocations: 4 kB / 0.8201 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01495, allocations: 0.9375 kB / 0.8201 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.01496, allocations: 3.984 kB / 0.8201 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.01496, allocations: 5.125 kB / 0.8201 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.01497, allocations: 0 / 0.8201 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.01512, allocations: 139.9 kB / 0.8202 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.01514, allocations: 13.03 kB / 0.8202 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.01515, allocations: 4 kB / 0.8202 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.367e-05/0.01519, allocations: 8 kB / 0.8202 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.01521, allocations: 12.95 kB / 0.8203 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.01522, allocations: 8 kB / 0.8203 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.956e-05/0.01531, allocations: 169.4 kB / 0.8204 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01531, allocations: 0.9688 kB / 0.8204 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002909/0.0156, allocations: 47.89 kB / 0.8205 GB, free: 8.348 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.0001578/0.01576, allocations: 104.9 kB / 0.8206 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002957/0.01606, allocations: 278.2 kB / 0.8208 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01606, allocations: 1.344 kB / 0.8208 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.808e-05/0.0161, allocations: 27.67 kB / 0.8209 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.0002836/0.01638, allocations: 37.78 kB / 0.8209 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.01685, allocations: 311.1 kB / 0.8212 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.838e-05/0.0169, allocations: 68 kB / 0.8213 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.794e-05/0.01696, allocations: 20.81 kB / 0.8213 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.01712, allocations: 118.2 kB / 0.8214 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of SimCode: time 8.51e-07/0.01712, allocations: 0 / 0.8214 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of Templates: time 0.006417/0.02354, allocations: 2.855 MB / 0.8242 GB, free: 4.531 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.118179958779365]