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.002336/0.002336, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002828/0.002828, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.609/1.609, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.032/3.032, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",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.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.515e-05, allocations: 7.859 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00229/0.002325, allocations: 0.8821 MB / 0.8117 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.00445, allocations: 1.312 MB / 0.813 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.004527, allocations: 4 kB / 0.813 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.004656, allocations: 16.69 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.42e-05/0.00475, allocations: 31.72 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007861/0.005536, allocations: 264.1 kB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004616/0.005998, allocations: 333 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.006158, allocations: 33.66 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.006444, allocations: 183.7 kB / 0.8138 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.006634, allocations: 83.75 kB / 0.8139 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.122e-05/0.006705, allocations: 32 kB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.006846, allocations: 53.44 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.386e-05/0.006939, allocations: 51.83 kB / 0.814 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.007085, allocations: 87.81 kB / 0.8141 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005378/0.007623, allocations: 379.4 kB / 0.8144 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.007626, allocations: 0 / 0.8144 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.543e-06/0.007628, allocations: 0.6875 kB / 0.8144 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.007633, allocations: 0 / 0.8144 GB, free: 14.4 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.0009361/0.008569, allocations: 0.59 MB / 0.815 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.008609, allocations: 8.031 kB / 0.815 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003959/0.009005, allocations: 76.75 kB / 0.8151 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/0.009656, allocations: 240.1 kB / 0.8153 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.009687, allocations: 12.38 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.009735, allocations: 20.38 kB / 0.8154 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.01028, allocations: 144.9 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.0103, allocations: 192 / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.01032, allocations: 4.969 kB / 0.8155 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.01033, allocations: 8.719 kB / 0.8155 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.01046, allocations: 51.89 kB / 0.8156 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.01152, allocations: 0.8641 MB / 0.8164 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.01166, allocations: 75.23 kB / 0.8165 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.01171, allocations: 23.44 kB / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.01172, allocations: 5.375 kB / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.01194, allocations: 116.3 kB / 0.8166 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.01194, allocations: 1.75 kB / 0.8166 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0003589/0.0123, allocations: 129.5 kB / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.01237, allocations: 81.05 kB / 0.8168 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.01271, allocations: 306.7 kB / 0.8171 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.01275, allocations: 34.55 kB / 0.8171 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.01293, allocations: 191 kB / 0.8173 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.01295, allocations: 27.81 kB / 0.8173 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.0131, allocations: 82.19 kB / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000297/0.0134, allocations: 0.5079 MB / 0.8179 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.01362, allocations: 139.4 kB / 0.8181 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.01398, allocations: 292.8 kB / 0.8183 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.01429, allocations: 222.3 kB / 0.8185 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.0143, allocations: 0 / 0.8185 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006588/0.01495, allocations: 401.9 kB / 0.8189 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.266e-05/0.01503, allocations: 63.34 kB / 0.819 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.01504, allocations: 8.547 kB / 0.819 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.01505, allocations: 1.375 kB / 0.819 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.01513, allocations: 12 kB / 0.819 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.01514, allocations: 7.938 kB / 0.819 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.01544, allocations: 46.42 kB / 0.8191 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.01547, allocations: 11.98 kB / 0.8191 GB, free: 9.227 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 0.0001836/0.01566, allocations: 180.6 kB / 0.8192 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.01569, allocations: 23.84 kB / 0.8193 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.01573, allocations: 13.56 kB / 0.8193 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01573, allocations: 0.7188 kB / 0.8193 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.01574, allocations: 4 kB / 0.8193 GB, free: 9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01575, allocations: 4.734 kB / 0.8193 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.01599, allocations: 188.6 kB / 0.8195 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.01599, allocations: 1 kB / 0.8195 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.01602, allocations: 11.92 kB / 0.8195 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01602, allocations: 1.156 kB / 0.8195 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.01605, allocations: 11.94 kB / 0.8195 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01605, allocations: 0 / 0.8195 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01605, allocations: 0 / 0.8195 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.01629, allocations: 152.8 kB / 0.8196 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.01633, allocations: 19.8 kB / 0.8197 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.01636, allocations: 14.14 kB / 0.8197 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.267e-05/0.01639, allocations: 4 kB / 0.8197 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.01643, allocations: 12.39 kB / 0.8197 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.01644, allocations: 4 kB / 0.8197 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001726/0.01661, allocations: 193.4 kB / 0.8199 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01661, allocations: 0 / 0.8199 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002709/0.01688, allocations: 44.94 kB / 0.8199 GB, free: 8.297 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.0001905/0.01707, allocations: 99.12 kB / 0.82 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005436/0.01762, allocations: 362.9 kB / 0.8204 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01762, allocations: 0 / 0.8204 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.01769, allocations: 36.67 kB / 0.8204 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.01801, allocations: 38.48 kB / 0.8204 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.01865, allocations: 318.5 kB / 0.8207 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.0188, allocations: 108.9 kB / 0.8208 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.781e-05/0.01887, allocations: 19.23 kB / 0.8209 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.01891, allocations: 20.48 kB / 0.8209 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.01891, allocations: 0.7188 kB / 0.8209 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of Templates: time 0.007693/0.0266, allocations: 2.665 MB / 0.8235 GB, free: 4.652 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.260041054920293]