Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.886/2.886, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.89 kB / 1.107 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287/1.289, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002446/1.292, allocations: 0.8837 MB / 1.273 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002108/1.294, allocations: 1.299 MB / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.527e-05/1.294, allocations: 5.719 kB / 1.274 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/1.294, allocations: 16.44 kB / 1.274 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.127e-05/1.294, allocations: 37.58 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/1.295, allocations: 262 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004498/1.296, allocations: 328.8 kB / 1.275 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/1.296, allocations: 44.06 kB / 1.275 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/1.296, allocations: 133.3 kB / 1.275 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/1.296, allocations: 105.9 kB / 1.275 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.319e-05/1.296, allocations: 30.44 kB / 1.275 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/1.297, allocations: 56.36 kB / 1.275 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/1.297, allocations: 49.53 kB / 1.275 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/1.297, allocations: 117.9 kB / 1.275 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004535/1.297, allocations: 345.4 kB / 1.276 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.297, allocations: 8.812 kB / 1.276 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.92e-07/1.297, allocations: 0 / 1.276 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.841e-06/1.297, allocations: 3.938 kB / 1.276 GB, free: 5.711 MB / 0.9981 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.000708/1.298, allocations: 0.5456 MB / 1.276 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.298, allocations: 9.438 kB / 1.276 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/1.298, allocations: 28.16 kB / 1.276 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/1.299, allocations: 309.8 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/1.299, allocations: 13.59 kB / 1.276 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/1.299, allocations: 20.3 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/1.299, allocations: 148.2 kB / 1.277 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.299, allocations: 7.938 kB / 1.277 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/1.299, allocations: 5.469 kB / 1.277 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/1.299, allocations: 3.938 kB / 1.277 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/1.299, allocations: 62.23 kB / 1.277 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/1.3, allocations: 0.7583 MB / 1.277 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/1.3, allocations: 57.62 kB / 1.277 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/1.3, allocations: 27.64 kB / 1.278 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/1.3, allocations: 4.859 kB / 1.278 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/1.3, allocations: 100.2 kB / 1.278 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/1.3, allocations: 3.938 kB / 1.278 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0003412/1.301, allocations: 130.5 kB / 1.278 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/1.301, allocations: 79.14 kB / 1.278 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/1.301, allocations: 214 kB / 1.278 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/1.301, allocations: 34.08 kB / 1.278 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/1.301, allocations: 141.1 kB / 1.278 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/1.301, allocations: 23.64 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/1.301, allocations: 68.64 kB / 1.278 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.36e-05/1.301, allocations: 323.5 kB / 1.279 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/1.302, allocations: 71.83 kB / 1.279 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/1.302, allocations: 128.3 kB / 1.279 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/1.302, allocations: 202.6 kB / 1.279 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.302, allocations: 0.9375 kB / 1.279 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004823/1.303, allocations: 296.8 kB / 1.279 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/1.303, allocations: 64.98 kB / 1.279 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.303, allocations: 1.844 kB / 1.279 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.303, allocations: 2.688 kB / 1.279 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/1.303, allocations: 12.25 kB / 1.279 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/1.303, allocations: 8.594 kB / 1.279 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/1.303, allocations: 74.28 kB / 1.279 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/1.303, allocations: 10.56 kB / 1.279 GB, free: 2.598 MB / 0.9981 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.0001305/1.303, allocations: 154 kB / 1.28 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/1.303, allocations: 19 kB / 1.28 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/1.303, allocations: 19.16 kB / 1.28 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.303, allocations: 1.812 kB / 1.28 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.303, allocations: 1.688 kB / 1.28 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.303, allocations: 0 / 1.28 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/1.303, allocations: 233.8 kB / 1.28 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.303, allocations: 4.969 kB / 1.28 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/1.304, allocations: 9.156 kB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.304, allocations: 0.9375 kB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/1.304, allocations: 1.875 kB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.304, allocations: 6.266 kB / 1.28 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.304, allocations: 5 kB / 1.28 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/1.304, allocations: 137 kB / 1.28 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/1.304, allocations: 90.33 kB / 1.28 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/1.304, allocations: 2.375 kB / 1.28 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.068e-05/1.304, allocations: 1.922 kB / 1.28 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/1.304, allocations: 9.547 kB / 1.28 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/1.304, allocations: 3.938 kB / 1.28 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001222/1.304, allocations: 153 kB / 1.28 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.304, allocations: 0.9375 kB / 1.28 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002784/1.304, allocations: 48.67 kB / 1.28 GB, free: 1.879 MB / 0.9981 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.0001739/1.304, allocations: 111.2 kB / 1.28 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003766/1.305, allocations: 228.5 kB / 1.281 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.305, allocations: 384 / 1.281 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.206e-05/1.305, allocations: 31.8 kB / 1.281 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/1.305, allocations: 38.89 kB / 1.281 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/1.306, allocations: 310.1 kB / 1.281 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/1.306, allocations: 0.7361 MB / 1.282 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.156e-05/1.306, allocations: 20.09 kB / 1.282 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/1.306, allocations: 16.12 kB / 1.282 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.306, allocations: 0 / 1.282 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of Templates: time 0.007712/1.314, allocations: 2.561 MB / 1.284 GB, free: 448 kB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.952599295414984]