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.001602/0.001602, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001795/0.001795, allocations: 216.5 kB / 22.99 MB, free: 4.945 MB / 14.72 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.233/3.233, allocations: 0.4892 GB / 0.7951 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 61.94 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3353, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.0022/0.3375, allocations: 0.8528 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.3394, allocations: 1.319 MB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.3394, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.3395, allocations: 15.8 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.3396, allocations: 39.73 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007403/0.3404, allocations: 261.7 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.3408, allocations: 331.2 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.3409, allocations: 33.67 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.3411, allocations: 139.7 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.3413, allocations: 95.62 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.3413, allocations: 28 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.3414, allocations: 47.92 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.3415, allocations: 47.84 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.3417, allocations: 107.6 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004105/0.3421, allocations: 350.7 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3421, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3421, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3421, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 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.0007475/0.3428, allocations: 484.7 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3429, allocations: 12.03 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003432/0.3432, allocations: 60.8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.3439, allocations: 242.6 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.3439, allocations: 12.38 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.3439, allocations: 24.36 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.3442, allocations: 149.5 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3442, allocations: 3.938 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.3442, allocations: 4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3442, allocations: 7.938 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.3443, allocations: 59.91 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008107/0.3451, allocations: 0.6374 MB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3453, allocations: 61.2 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.3453, allocations: 29.66 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.3453, allocations: 7.984 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.3456, allocations: 97.03 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.3456, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.000312/0.3459, allocations: 129.5 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.3459, allocations: 81.11 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.3462, allocations: 211.7 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.3462, allocations: 37.7 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3463, allocations: 144.3 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.3464, allocations: 19.84 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3465, allocations: 61.64 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3466, allocations: 334.8 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.3468, allocations: 127.4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.3471, allocations: 247.3 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.3474, allocations: 198.2 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3474, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005604/0.3479, allocations: 372.1 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/0.348, allocations: 63.39 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.348, allocations: 4 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.348, allocations: 3.938 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.021e-05/0.3481, allocations: 11.98 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3481, allocations: 8.188 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.3484, allocations: 55.89 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.3484, allocations: 12 kB / 1.334 GB, free: 9.871 MB / 1.029 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.000162/0.3486, allocations: 160.3 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.3486, allocations: 15.91 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.3487, allocations: 17.5 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3487, allocations: 0 / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3487, allocations: 3.938 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3487, allocations: 7.984 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.3488, allocations: 157.3 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3488, allocations: 7.922 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.3489, allocations: 7.984 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3489, allocations: 0 / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3489, allocations: 4 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3489, allocations: 0 / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3489, allocations: 0 / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.3491, allocations: 145.8 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.3491, allocations: 15.84 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.3491, allocations: 3.984 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.001e-05/0.3492, allocations: 0 / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.3492, allocations: 11.98 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.3492, allocations: 4 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001381/0.3494, allocations: 145.5 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3494, allocations: 0 / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002682/0.3496, allocations: 43.89 kB / 1.334 GB, free: 9.074 MB / 1.029 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.0001639/0.3498, allocations: 111.2 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004335/0.3502, allocations: 298 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3502, allocations: 0 / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/0.3503, allocations: 27.98 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.3506, allocations: 44.22 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.3512, allocations: 346.3 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.3513, allocations: 115.6 kB / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.3513, allocations: 19.44 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3513, allocations: 0 / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of Templates: time 0.004831/0.3562, allocations: 2.544 MB / 1.338 GB, free: 5.512 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.510546099860221]