Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001704/0.001704, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002049/0.002049, allocations: 221.1 kB / 23 MB, free: 4.918 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.532/1.532, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.804/2.804, allocations: 476 MB / 0.7707 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002196/0.002196, allocations: 67.48 kB / 1.118 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2889, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002305/0.2912, allocations: 0.8503 MB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.2932, allocations: 1.309 MB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.2933, allocations: 4 kB / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.2935, allocations: 19.8 kB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.232e-05/0.2935, allocations: 31.73 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.2944, allocations: 267.3 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004429/0.2948, allocations: 327.4 kB / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.295, allocations: 41.66 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.2952, allocations: 131.7 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.2954, allocations: 99.61 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.793e-05/0.2955, allocations: 28 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.2956, allocations: 48 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.802e-05/0.2957, allocations: 47.78 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.2958, allocations: 103.6 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004559/0.2963, allocations: 354.7 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2963, allocations: 0 / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2963, allocations: 0 / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.2963, allocations: 0 / 1.287 GB, free: 8.316 MB / 0.9825 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.0008036/0.2971, allocations: 492.6 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2971, allocations: 8.031 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/0.2974, allocations: 56.77 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.2981, allocations: 250.1 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.2981, allocations: 12.38 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.2981, allocations: 20.38 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.2984, allocations: 142.9 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2984, allocations: 7.875 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.2984, allocations: 4 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.2984, allocations: 8 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.2986, allocations: 75.83 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007972/0.2994, allocations: 0.6374 MB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.2995, allocations: 53.22 kB / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.2995, allocations: 25.7 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.986e-06/0.2995, allocations: 4 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.2997, allocations: 101 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/0.2997, allocations: 0 / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003133/0.3001, allocations: 133.5 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.3001, allocations: 81.11 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.3003, allocations: 211.7 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.3004, allocations: 33.7 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.3005, allocations: 144.3 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.3005, allocations: 15.84 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.3007, allocations: 65.67 kB / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3008, allocations: 322.8 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.301, allocations: 135.4 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.3013, allocations: 250.1 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.3015, allocations: 194.2 kB / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3015, allocations: 0 / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005491/0.3021, allocations: 376.5 kB / 1.291 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/0.3021, allocations: 63.39 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3021, allocations: 8.172 kB / 1.291 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3022, allocations: 8 kB / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.3022, allocations: 11.94 kB / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3022, allocations: 4 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.3026, allocations: 55.88 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.3026, allocations: 15.98 kB / 1.291 GB, free: 3.984 MB / 0.9825 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.0001792/0.3028, allocations: 159.4 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.3028, allocations: 15.91 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.3028, allocations: 21.02 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3028, allocations: 3.938 kB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3029, allocations: 4 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3029, allocations: 0 / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.303, allocations: 161.2 kB / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.303, allocations: 3.938 kB / 1.292 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.3031, allocations: 4 kB / 1.292 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3031, allocations: 4 kB / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.3031, allocations: 0 / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3031, allocations: 4 kB / 1.292 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3031, allocations: 3.938 kB / 1.292 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.3033, allocations: 137.9 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.3033, allocations: 19.78 kB / 1.292 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.3033, allocations: 0 / 1.292 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.3034, allocations: 8 kB / 1.292 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.3034, allocations: 3.984 kB / 1.292 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.3034, allocations: 4 kB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000139/0.3036, allocations: 145.5 kB / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3036, allocations: 0 / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000274/0.3038, allocations: 47.88 kB / 1.292 GB, free: 3.188 MB / 0.9825 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.0001572/0.304, allocations: 113.3 kB / 1.292 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004587/0.3044, allocations: 298 kB / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3044, allocations: 0 / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.165e-05/0.3045, allocations: 27.98 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.3048, allocations: 44.28 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/0.3054, allocations: 334.3 kB / 1.293 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.3055, allocations: 115.6 kB / 1.293 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.3056, allocations: 19.44 kB / 1.293 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3056, allocations: 0 / 1.293 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of Templates: time 0.004848/0.3104, allocations: 2.534 MB / 1.295 GB, free: 15.65 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.502463839016855]