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.001696/0.001696, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.002157/0.002157, allocations: 212 kB / 22.24 MB, free: 5.113 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.65/1.65, allocations: 230.6 MB / 256 MB, free: 7.801 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.385/3.385, allocations: 0.4892 GB / 0.7943 GB, free: 35.67 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.002153/0.002153, allocations: 69.89 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4124, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002489/0.4149, allocations: 0.8481 MB / 1.326 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002071/0.417, allocations: 1.319 MB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.417, allocations: 0 / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.4172, allocations: 19.8 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.536e-05/0.4173, allocations: 31.72 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008579/0.4181, allocations: 262.2 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004578/0.4186, allocations: 327.5 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.4188, allocations: 37.64 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.419, allocations: 139.7 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.4192, allocations: 91.64 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.764e-05/0.4192, allocations: 32 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.4193, allocations: 55.91 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.263e-05/0.4194, allocations: 43.86 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.4196, allocations: 99.56 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.42, allocations: 350.8 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.42, allocations: 0 / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.964e-06/0.42, allocations: 0 / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.42, allocations: 0 / 1.329 GB, free: 14.26 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.0007972/0.4208, allocations: 488.7 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.4209, allocations: 8.031 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003819/0.4212, allocations: 60.8 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007348/0.422, allocations: 242.5 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.422, allocations: 12.38 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.4221, allocations: 20.38 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.4223, allocations: 153.5 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.4223, allocations: 3.938 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.4224, allocations: 7.984 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.4224, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.4225, allocations: 67.91 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008562/0.4234, allocations: 0.6413 MB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.4235, allocations: 49.22 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.4235, allocations: 33.64 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.4236, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.4238, allocations: 97.08 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.4238, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003478/0.4241, allocations: 137.5 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.4242, allocations: 81.11 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.4244, allocations: 211.8 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.4245, allocations: 37.62 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.4246, allocations: 140.3 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.4246, allocations: 27.77 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.4248, allocations: 65.62 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4249, allocations: 330.8 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.4251, allocations: 131.3 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.4254, allocations: 245 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.4257, allocations: 202.2 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4257, allocations: 0 / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005637/0.4262, allocations: 364.1 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.915e-05/0.4263, allocations: 67.58 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4263, allocations: 4 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.4263, allocations: 4 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.4264, allocations: 11.94 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.4264, allocations: 0 / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.4267, allocations: 52.05 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.4268, allocations: 15.98 kB / 1.333 GB, free: 9.938 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.0001778/0.4269, allocations: 160.4 kB / 1.333 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.427, allocations: 19.86 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.427, allocations: 17.02 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/0.427, allocations: 4.469 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.427, allocations: 0 / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.427, allocations: 0 / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.4272, allocations: 161.2 kB / 1.333 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4272, allocations: 3.938 kB / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.4273, allocations: 4 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.4273, allocations: 11.98 kB / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.4273, allocations: 8 kB / 1.333 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4273, allocations: 0 / 1.333 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.4273, allocations: 7.984 kB / 1.333 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.4275, allocations: 133.8 kB / 1.333 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.4275, allocations: 15.84 kB / 1.333 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.4276, allocations: 0 / 1.333 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.27e-05/0.4276, allocations: 4 kB / 1.333 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.4276, allocations: 7.922 kB / 1.333 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4276, allocations: 8 kB / 1.333 GB, free: 9.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001511/0.4278, allocations: 141.5 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4278, allocations: 4 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002775/0.4281, allocations: 51.88 kB / 1.334 GB, free: 9.129 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.0001578/0.4282, allocations: 99.25 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004653/0.4287, allocations: 302 kB / 1.334 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4287, allocations: 3.938 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.639e-05/0.4288, allocations: 23.98 kB / 1.334 GB, free: 8.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.4291, allocations: 45.62 kB / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005939/0.4297, allocations: 308.7 kB / 1.334 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.4298, allocations: 115.6 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.251e-05/0.4299, allocations: 25.48 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.4299, allocations: 19.44 kB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4299, allocations: 0 / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of Templates: time 0.006686/0.4366, allocations: 2.788 MB / 1.337 GB, free: 5.383 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.918505117297173]