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.001871/0.001871, allocations: 77.33 kB / 19.76 MB, free: 2.031 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.002349/0.002349, allocations: 161 kB / 23.01 MB, free: 4.961 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.48/1.48, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.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 2.89/2.89, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.002356/0.002356, allocations: 67.89 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9959/0.9983, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001757/1, allocations: 0.8545 MB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001241/1.001, allocations: 1.305 MB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/1.001, allocations: 2.781 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.935e-05/1.001, allocations: 21.69 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.405e-05/1.002, allocations: 36.22 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/1.002, allocations: 268.6 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003007/1.002, allocations: 329.9 kB / 1.157 GB, free: 31.56 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/1.003, allocations: 37.7 kB / 1.157 GB, free: 31.53 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/1.003, allocations: 132.9 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/1.003, allocations: 98.61 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/1.003, allocations: 28.53 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.35e-05/1.003, allocations: 43.83 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/1.003, allocations: 48.47 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/1.003, allocations: 106.2 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/1.004, allocations: 352.2 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.004, allocations: 3.188 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/1.004, allocations: 0 / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.022e-06/1.004, allocations: 0 / 1.157 GB, free: 31.22 MB / 1.076 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.0005761/1.004, allocations: 485.8 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/1.004, allocations: 8.406 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/1.004, allocations: 75.27 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/1.005, allocations: 228.2 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/1.005, allocations: 22.05 kB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/1.005, allocations: 17.72 kB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/1.005, allocations: 151.4 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.005, allocations: 3.938 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/1.005, allocations: 4 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.005, allocations: 5.594 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/1.005, allocations: 70.12 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/1.006, allocations: 0.6374 MB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.585e-05/1.006, allocations: 66.86 kB / 1.159 GB, free: 29.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/1.006, allocations: 25.28 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/1.006, allocations: 0 / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/1.006, allocations: 112.5 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/1.006, allocations: 0 / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0002486/1.006, allocations: 125.2 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/1.006, allocations: 87.33 kB / 1.16 GB, free: 29.58 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/1.007, allocations: 207.9 kB / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/1.007, allocations: 38.77 kB / 1.16 GB, free: 29.39 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/1.007, allocations: 147.9 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/1.007, allocations: 14.5 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/1.007, allocations: 65.84 kB / 1.16 GB, free: 29.22 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.989e-05/1.007, allocations: 330.3 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/1.007, allocations: 130.5 kB / 1.16 GB, free: 28.81 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/1.007, allocations: 239.5 kB / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/1.007, allocations: 198.3 kB / 1.161 GB, free: 28.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.007, allocations: 2.5 kB / 1.161 GB, free: 28.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003944/1.008, allocations: 364.6 kB / 1.161 GB, free: 28.16 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/1.008, allocations: 67.33 kB / 1.161 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/1.008, allocations: 0 / 1.161 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.008, allocations: 2.969 kB / 1.161 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/1.008, allocations: 12.45 kB / 1.161 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/1.008, allocations: 3.344 kB / 1.161 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/1.008, allocations: 56.97 kB / 1.161 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/1.008, allocations: 19.19 kB / 1.161 GB, free: 28.08 MB / 1.076 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 9.693e-05/1.008, allocations: 151.1 kB / 1.161 GB, free: 27.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/1.008, allocations: 25.33 kB / 1.161 GB, free: 27.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/1.008, allocations: 17.94 kB / 1.162 GB, free: 27.92 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.008, allocations: 6.719 kB / 1.162 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/1.008, allocations: 0 / 1.162 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/1.008, allocations: 0 / 1.162 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.719e-05/1.008, allocations: 165.5 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.008, allocations: 3.938 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.282e-05/1.008, allocations: 2.562 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/1.008, allocations: 2.875 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/1.008, allocations: 3.938 kB / 1.162 GB, free: 27.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.008, allocations: 7 kB / 1.162 GB, free: 27.76 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.008, allocations: 0 / 1.162 GB, free: 27.76 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/1.009, allocations: 131.6 kB / 1.162 GB, free: 27.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/1.009, allocations: 21.59 kB / 1.162 GB, free: 27.64 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/1.009, allocations: 0 / 1.162 GB, free: 27.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.183e-05/1.009, allocations: 10.12 kB / 1.162 GB, free: 27.64 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/1.009, allocations: 6.297 kB / 1.162 GB, free: 27.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/1.009, allocations: 2.969 kB / 1.162 GB, free: 27.64 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.05e-05/1.009, allocations: 145.8 kB / 1.162 GB, free: 27.55 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.009, allocations: 0 / 1.162 GB, free: 27.55 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002509/1.009, allocations: 46.95 kB / 1.162 GB, free: 27.54 MB / 1.076 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.0001283/1.009, allocations: 110.5 kB / 1.162 GB, free: 27.44 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003244/1.01, allocations: 295.6 kB / 1.162 GB, free: 27.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.01, allocations: 6.531 kB / 1.162 GB, free: 27.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/1.01, allocations: 30.22 kB / 1.162 GB, free: 27.18 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/1.01, allocations: 39.55 kB / 1.162 GB, free: 27.17 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/1.01, allocations: 312.6 kB / 1.163 GB, free: 26.95 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.786e-05/1.01, allocations: 113.9 kB / 1.163 GB, free: 26.88 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.49e-05/1.01, allocations: 19.33 kB / 1.163 GB, free: 26.88 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/1.01, allocations: 20.31 kB / 1.163 GB, free: 26.86 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.01, allocations: 0 / 1.163 GB, free: 26.86 MB / 1.076 GB Notification: Performance of Templates: time 0.005093/1.016, allocations: 2.675 MB / 1.166 GB, free: 26.52 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.17612201103475]