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.001796/0.001796, allocations: 106.8 kB / 16.46 MB, free: 6.453 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.002108/0.002108, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.626/1.626, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.411/3.411, allocations: 0.49 GB / 0.7916 GB, free: 33.26 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.002234/0.002234, allocations: 68.62 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4023, allocations: 176.1 MB / 1.321 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002484/0.4047, allocations: 0.8808 MB / 1.322 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00226/0.407, allocations: 1.334 MB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.562e-05/0.4071, allocations: 0 / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.4072, allocations: 15.8 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.4073, allocations: 39.72 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008945/0.4082, allocations: 264.4 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.4087, allocations: 319.5 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.4089, allocations: 49.47 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.4091, allocations: 131.6 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.4093, allocations: 115.5 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.4093, allocations: 28 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.4095, allocations: 55.92 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.385e-05/0.4096, allocations: 47.83 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.4097, allocations: 115.5 kB / 1.325 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.4102, allocations: 354.7 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4102, allocations: 3.984 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4102, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.4102, allocations: 0 / 1.325 GB, free: 15.14 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.000854/0.4111, allocations: 0.5486 MB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4111, allocations: 15.98 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.4115, allocations: 52.81 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008376/0.4123, allocations: 312 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.4124, allocations: 12.38 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.4124, allocations: 16.38 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.4127, allocations: 155.3 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4127, allocations: 3.938 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.4127, allocations: 4 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.4127, allocations: 11.98 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.4128, allocations: 67.84 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009149/0.4138, allocations: 0.7431 MB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.4139, allocations: 65.08 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.4139, allocations: 25.77 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.4139, allocations: 4 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.4142, allocations: 97.05 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.4142, allocations: 0 / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003175/0.4145, allocations: 125.5 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.4146, allocations: 89.09 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.4148, allocations: 207.8 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.4148, allocations: 29.7 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.415, allocations: 144.3 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.415, allocations: 15.89 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.4151, allocations: 73.58 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.4153, allocations: 330.8 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.4155, allocations: 63.97 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.4157, allocations: 124.5 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.416, allocations: 198.1 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.416, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000575/0.4166, allocations: 304.7 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.4166, allocations: 71.39 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4166, allocations: 3.938 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4166, allocations: 4 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.4167, allocations: 8 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4167, allocations: 0 / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.4171, allocations: 64.06 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.4171, allocations: 11.98 kB / 1.329 GB, free: 10.81 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.0001809/0.4173, allocations: 150.7 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.4173, allocations: 19.86 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.4174, allocations: 16.92 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4174, allocations: 4 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4174, allocations: 4 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4174, allocations: 3.938 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.4176, allocations: 233.5 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4176, allocations: 0 / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.4177, allocations: 4 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4177, allocations: 0 / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.4177, allocations: 4 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4177, allocations: 0 / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4177, allocations: 0 / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.4179, allocations: 149.7 kB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.418, allocations: 93.42 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.418, allocations: 0 / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.584e-05/0.418, allocations: 4 kB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.418, allocations: 11.98 kB / 1.329 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.418, allocations: 0 / 1.329 GB, free: 10.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001655/0.4182, allocations: 149.5 kB / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4182, allocations: 0 / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002956/0.4185, allocations: 43.95 kB / 1.33 GB, free: 9.844 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.0002352/0.4187, allocations: 115.2 kB / 1.33 GB, free: 9.719 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004459/0.4192, allocations: 234.6 kB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4192, allocations: 0 / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.337e-05/0.4193, allocations: 27.92 kB / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.4196, allocations: 50.56 kB / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006566/0.4202, allocations: 304.5 kB / 1.33 GB, free: 9.066 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/0.4209, allocations: 0.7318 MB / 1.331 GB, free: 8.309 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.492e-05/0.4209, allocations: 21.55 kB / 1.331 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.421, allocations: 15.44 kB / 1.331 GB, free: 8.27 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.421, allocations: 0 / 1.331 GB, free: 8.27 MB / 1.029 GB Notification: Performance of Templates: time 0.007287/0.4283, allocations: 2.441 MB / 1.333 GB, free: 5.867 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/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: 9.7272720891051]