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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 107.7 kB / 18.88 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 200.3 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 71.88 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9248/0.9269, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002356/0.9292, allocations: 0.8729 MB / 1.275 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.9312, allocations: 1.304 MB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.9313, allocations: 4 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.9314, allocations: 15.8 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.672e-05/0.9315, allocations: 39.67 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008103/0.9323, allocations: 266.8 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004406/0.9327, allocations: 327.5 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.9329, allocations: 49.06 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.9331, allocations: 131.7 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.9333, allocations: 115.5 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/0.9333, allocations: 28 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.9334, allocations: 47.98 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.987e-05/0.9335, allocations: 51.78 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.9337, allocations: 123.5 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.9341, allocations: 353.7 kB / 1.278 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.9341, allocations: 0 / 1.278 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.929e-06/0.9341, allocations: 3.984 kB / 1.278 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.9341, allocations: 0 / 1.278 GB, free: 0.8203 MB / 0.9669 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.0008074/0.9349, allocations: 0.5448 MB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.935, allocations: 15.95 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.916e-05/0.935, allocations: 28.8 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007045/0.9357, allocations: 300.1 kB / 1.279 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.9358, allocations: 16.31 kB / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.9358, allocations: 20.38 kB / 1.279 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.9361, allocations: 148.2 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.9361, allocations: 3.938 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.9361, allocations: 4 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.9361, allocations: 8 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.9363, allocations: 63.89 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009419/0.9372, allocations: 0.7469 MB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.9373, allocations: 65.17 kB / 1.28 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.9374, allocations: 21.78 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.9374, allocations: 7.922 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.9376, allocations: 105 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.512e-06/0.9376, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003717/0.9379, allocations: 125.9 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.938, allocations: 85.11 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.9382, allocations: 211.7 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.9383, allocations: 29.7 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.9384, allocations: 148.2 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.9384, allocations: 19.84 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.9386, allocations: 65.67 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.9388, allocations: 326.8 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.9389, allocations: 71.95 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.9391, allocations: 124.5 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.9394, allocations: 198.1 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9394, allocations: 0 / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005529/0.9399, allocations: 308.7 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.386e-05/0.94, allocations: 63.39 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.94, allocations: 4 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.94, allocations: 4.094 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.843e-05/0.9401, allocations: 4 kB / 1.281 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.9401, allocations: 11.92 kB / 1.281 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/0.9406, allocations: 76.05 kB / 1.281 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.9406, allocations: 16 kB / 1.282 GB, free: 12.5 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.0001742/0.9408, allocations: 149.7 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.9408, allocations: 19.89 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.9408, allocations: 12.94 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.9408, allocations: 0 / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9409, allocations: 4 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.9409, allocations: 7.938 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.9411, allocations: 233.5 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.9411, allocations: 0 / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.9411, allocations: 11.92 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.9411, allocations: 3.938 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.9411, allocations: 0 / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.9411, allocations: 4 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9411, allocations: 0 / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.9414, allocations: 137.8 kB / 1.282 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.9414, allocations: 89.02 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.9414, allocations: 3.984 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.14e-05/0.9415, allocations: 0 / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.9415, allocations: 4 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.9415, allocations: 8 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001362/0.9417, allocations: 149.5 kB / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9417, allocations: 0 / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003024/0.942, allocations: 51.89 kB / 1.282 GB, free: 11.53 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.0001951/0.9422, allocations: 112.7 kB / 1.282 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004459/0.9426, allocations: 230.7 kB / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.9426, allocations: 0 / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.238e-05/0.9427, allocations: 27.92 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.943, allocations: 36.3 kB / 1.283 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/0.9436, allocations: 312.5 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.944, allocations: 0.728 MB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.167e-05/0.9441, allocations: 25.53 kB / 1.284 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.9441, allocations: 19.38 kB / 1.284 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.9441, allocations: 0 / 1.284 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of Templates: time 0.006502/0.9506, allocations: 2.556 MB / 1.286 GB, free: 7.453 MB / 0.9825 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 -s cvode -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_2/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: 9.271600252017379]