Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 101.4 kB / 16.4 MB, free: 6.492 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 195.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437 MB / 0.717 GB, free: 4.086 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=514,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_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=514,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_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002065, allocations: 67.89 kB / 1.027 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.069, allocations: 151.6 MB / 1.175 GB, free: 17.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001965/1.071, allocations: 0.8857 MB / 1.176 GB, free: 17.36 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0016/1.073, allocations: 1.287 MB / 1.177 GB, free: 16.42 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.927e-05/1.073, allocations: 1.594 kB / 1.177 GB, free: 16.42 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/1.073, allocations: 19.67 kB / 1.177 GB, free: 16.4 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.191e-05/1.073, allocations: 27.77 kB / 1.177 GB, free: 16.38 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007539/1.074, allocations: 265.3 kB / 1.178 GB, free: 16.25 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003684/1.074, allocations: 352.7 kB / 1.178 GB, free: 16.08 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/1.074, allocations: 64.73 kB / 1.178 GB, free: 16.05 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/1.075, allocations: 129.1 kB / 1.178 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/1.075, allocations: 108.2 kB / 1.178 GB, free: 15.94 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.831e-05/1.075, allocations: 29.56 kB / 1.178 GB, free: 15.94 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/1.075, allocations: 57.2 kB / 1.178 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/1.075, allocations: 41.27 kB / 1.178 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/1.075, allocations: 120.3 kB / 1.178 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004291/1.076, allocations: 347.8 kB / 1.179 GB, free: 15.72 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.076, allocations: 0 / 1.179 GB, free: 15.72 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/1.076, allocations: 0 / 1.179 GB, free: 15.72 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.603e-06/1.076, allocations: 0 / 1.179 GB, free: 15.72 MB / 0.92 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.0007112/1.076, allocations: 0.5595 MB / 1.179 GB, free: 15.19 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.076, allocations: 10.7 kB / 1.179 GB, free: 15.19 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.666e-05/1.076, allocations: 26.64 kB / 1.179 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/1.077, allocations: 299.8 kB / 1.18 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/1.077, allocations: 13.75 kB / 1.18 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/1.077, allocations: 20.06 kB / 1.18 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/1.077, allocations: 151.5 kB / 1.18 GB, free: 14.83 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/1.077, allocations: 3.938 kB / 1.18 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/1.077, allocations: 5.969 kB / 1.18 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/1.077, allocations: 3.938 kB / 1.18 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/1.078, allocations: 71.38 kB / 1.18 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007062/1.078, allocations: 0.751 MB / 1.181 GB, free: 14.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.938e-05/1.078, allocations: 58.23 kB / 1.181 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/1.078, allocations: 31.16 kB / 1.181 GB, free: 14.08 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/1.078, allocations: 1.5 kB / 1.181 GB, free: 14.08 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/1.079, allocations: 100.5 kB / 1.181 GB, free: 14 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/1.079, allocations: 0 / 1.181 GB, free: 14 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0003337/1.079, allocations: 126.2 kB / 1.181 GB, free: 13.94 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/1.079, allocations: 83.88 kB / 1.181 GB, free: 13.84 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/1.079, allocations: 210.1 kB / 1.181 GB, free: 13.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/1.079, allocations: 34.36 kB / 1.181 GB, free: 13.66 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/1.08, allocations: 149.1 kB / 1.181 GB, free: 13.53 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/1.08, allocations: 23.45 kB / 1.181 GB, free: 13.51 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/1.08, allocations: 64.8 kB / 1.181 GB, free: 13.48 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.515e-05/1.08, allocations: 329.2 kB / 1.182 GB, free: 13.16 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/1.08, allocations: 66.34 kB / 1.182 GB, free: 13.14 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/1.08, allocations: 132.5 kB / 1.182 GB, free: 13.03 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/1.08, allocations: 197.5 kB / 1.182 GB, free: 12.86 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.08, allocations: 0.6094 kB / 1.182 GB, free: 12.86 MB / 0.92 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005316/1.081, allocations: 294.6 kB / 1.182 GB, free: 12.69 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.842e-05/1.081, allocations: 67.95 kB / 1.182 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.081, allocations: 9.844 kB / 1.182 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/1.081, allocations: 3 kB / 1.182 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/1.081, allocations: 13.7 kB / 1.183 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/1.081, allocations: 3.109 kB / 1.183 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/1.082, allocations: 67.45 kB / 1.183 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/1.082, allocations: 13.47 kB / 1.183 GB, free: 12.6 MB / 0.92 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.000154/1.082, allocations: 159 kB / 1.183 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/1.082, allocations: 15.33 kB / 1.183 GB, free: 12.45 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/1.082, allocations: 15.47 kB / 1.183 GB, free: 12.44 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/1.082, allocations: 2.672 kB / 1.183 GB, free: 12.44 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.082, allocations: 0 / 1.183 GB, free: 12.44 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.082, allocations: 1.734 kB / 1.183 GB, free: 12.44 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/1.082, allocations: 236.6 kB / 1.183 GB, free: 12.22 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/1.082, allocations: 1.062 kB / 1.183 GB, free: 12.22 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/1.082, allocations: 9.578 kB / 1.183 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/1.082, allocations: 1.094 kB / 1.183 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/1.082, allocations: 1.969 kB / 1.183 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.082, allocations: 1 kB / 1.183 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.082, allocations: 1.469 kB / 1.183 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/1.082, allocations: 141.7 kB / 1.183 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/1.082, allocations: 90.5 kB / 1.183 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/1.082, allocations: 6.812 kB / 1.183 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.192e-05/1.082, allocations: 4 kB / 1.183 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/1.083, allocations: 10.84 kB / 1.183 GB, free: 11.99 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/1.083, allocations: 3.391 kB / 1.183 GB, free: 11.99 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000119/1.083, allocations: 145.5 kB / 1.183 GB, free: 11.9 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.083, allocations: 0 / 1.183 GB, free: 11.9 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002868/1.083, allocations: 44.59 kB / 1.183 GB, free: 11.89 MB / 0.92 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.0002137/1.083, allocations: 119.2 kB / 1.184 GB, free: 11.79 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004239/1.084, allocations: 260.2 kB / 1.184 GB, free: 11.61 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.084, allocations: 1.031 kB / 1.184 GB, free: 11.61 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.643e-05/1.084, allocations: 29.89 kB / 1.184 GB, free: 11.6 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/1.084, allocations: 45.83 kB / 1.184 GB, free: 11.58 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/1.085, allocations: 315.8 kB / 1.184 GB, free: 11.36 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/1.085, allocations: 0.7241 MB / 1.185 GB, free: 10.66 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.656e-05/1.085, allocations: 24.06 kB / 1.185 GB, free: 10.66 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/1.085, allocations: 20.55 kB / 1.185 GB, free: 10.65 MB / 0.92 GB Notification: Performance of SimCode: time 3.61e-07/1.085, allocations: 0 / 1.185 GB, free: 10.65 MB / 0.92 GB Notification: Performance of Templates: time 0.007603/1.093, allocations: 2.539 MB / 1.187 GB, free: 10.42 MB / 0.92 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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