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.001293/0.001293, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001484/0.001484, allocations: 214.5 kB / 23.01 MB, free: 4.609 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.154/3.154, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.002014/0.002014, allocations: 67.33 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3462, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00226/0.3485, allocations: 0.8845 MB / 1.328 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.3505, allocations: 1.342 MB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.3505, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.3507, allocations: 23.8 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.826e-05/0.3508, allocations: 31.73 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008461/0.3516, allocations: 271.2 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004501/0.352, allocations: 323.5 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.3522, allocations: 41.64 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.3524, allocations: 127.7 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.3526, allocations: 115.6 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.221e-05/0.3527, allocations: 28 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3528, allocations: 51.92 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.229e-05/0.3529, allocations: 51.83 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.353, allocations: 111.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.3535, allocations: 358.7 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3535, allocations: 0 / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3535, allocations: 0 / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.647e-06/0.3535, allocations: 0 / 1.331 GB, free: 13.75 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.0008131/0.3543, allocations: 488.7 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3543, allocations: 8.031 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003538/0.3547, allocations: 56.8 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006491/0.3553, allocations: 242.6 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.3554, allocations: 12.38 kB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.3554, allocations: 28.3 kB / 1.332 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.3557, allocations: 153.5 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3557, allocations: 7.875 kB / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.3557, allocations: 4 kB / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3557, allocations: 4 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.3559, allocations: 67.89 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009107/0.3568, allocations: 0.7149 MB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.3569, allocations: 61.14 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.3569, allocations: 29.7 kB / 1.333 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.3569, allocations: 0 / 1.333 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.3571, allocations: 101.1 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.3571, allocations: 0 / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003066/0.3574, allocations: 129.5 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/0.3575, allocations: 81.11 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.3578, allocations: 211.8 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.3578, allocations: 29.7 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3579, allocations: 148.3 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.3579, allocations: 19.83 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.3581, allocations: 69.67 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3582, allocations: 326.8 kB / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.3584, allocations: 63.95 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.3586, allocations: 136.4 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.3588, allocations: 194.1 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3588, allocations: 0 / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005264/0.3594, allocations: 304.7 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.3595, allocations: 73.27 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3595, allocations: 0 / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3595, allocations: 4 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.3596, allocations: 11.94 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3596, allocations: 0 / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.3599, allocations: 56.12 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.3599, allocations: 15.98 kB / 1.334 GB, free: 9.625 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.000179/0.3601, allocations: 156 kB / 1.335 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.3601, allocations: 15.91 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.3602, allocations: 20.95 kB / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3602, allocations: 0 / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3602, allocations: 4 kB / 1.335 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.3602, allocations: 4 kB / 1.335 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.3604, allocations: 208.6 kB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3604, allocations: 3.938 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.3605, allocations: 4 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3605, allocations: 0 / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3605, allocations: 7.984 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3605, allocations: 0 / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3605, allocations: 0 / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.3607, allocations: 145.7 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.3607, allocations: 11.91 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.3608, allocations: 4 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.993e-05/0.3608, allocations: 0 / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.3608, allocations: 12.45 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3608, allocations: 0 / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001552/0.361, allocations: 145.5 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.361, allocations: 0 / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002868/0.3613, allocations: 47.89 kB / 1.335 GB, free: 8.777 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.0001778/0.3614, allocations: 107.2 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.3619, allocations: 238.7 kB / 1.336 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3619, allocations: 0 / 1.336 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.3619, allocations: 23.98 kB / 1.336 GB, free: 8.379 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.3622, allocations: 45.67 kB / 1.336 GB, free: 8.336 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/0.3628, allocations: 342.3 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.3632, allocations: 0.7281 MB / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.3633, allocations: 19.44 kB / 1.337 GB, free: 7.191 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3633, allocations: 0 / 1.337 GB, free: 7.191 MB / 1.029 GB Notification: Performance of Templates: time 0.005069/0.3683, allocations: 2.508 MB / 1.339 GB, free: 4.711 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.343639563012403]