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.002446/0.002446, allocations: 87.69 kB / 20.24 MB, free: 4.18 MB / 18.57 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.002926/0.002926, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.926/2.926, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.594e-05, allocations: 2.844 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002296/0.002332, allocations: 0.8707 MB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.0045, allocations: 1.32 MB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.004568, allocations: 3.938 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.004702, allocations: 23.8 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.8e-05/0.0048, allocations: 32.94 kB / 0.7886 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007973/0.005597, allocations: 263.3 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004552/0.006052, allocations: 331.3 kB / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.006199, allocations: 38.28 kB / 0.7892 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.006478, allocations: 183.7 kB / 0.7893 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.006667, allocations: 85.16 kB / 0.7894 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.113e-05/0.006738, allocations: 28 kB / 0.7895 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.006871, allocations: 51.97 kB / 0.7895 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.898e-05/0.00696, allocations: 48.69 kB / 0.7896 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.007097, allocations: 83.81 kB / 0.7896 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.007637, allocations: 391.4 kB / 0.79 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.00764, allocations: 3.938 kB / 0.79 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.007641, allocations: 0.6875 kB / 0.79 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.007647, allocations: 0 / 0.79 GB, free: 9.109 MB / 0.7448 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.000913/0.00856, allocations: 0.5816 MB / 0.7906 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.008601, allocations: 12.03 kB / 0.7906 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003863/0.008987, allocations: 77.41 kB / 0.7907 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/0.009627, allocations: 233.1 kB / 0.7909 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.009663, allocations: 19.72 kB / 0.7909 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.009706, allocations: 20.38 kB / 0.7909 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.01012, allocations: 143.1 kB / 0.7911 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.01014, allocations: 4.125 kB / 0.7911 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.01016, allocations: 8.375 kB / 0.7911 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.01017, allocations: 8.125 kB / 0.7911 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.0103, allocations: 47.86 kB / 0.7911 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.01135, allocations: 0.8633 MB / 0.792 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.01148, allocations: 66.89 kB / 0.792 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/0.01153, allocations: 29.09 kB / 0.7921 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.01154, allocations: 0 / 0.7921 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.01176, allocations: 128.2 kB / 0.7922 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.01176, allocations: 5.281 kB / 0.7922 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003498/0.01211, allocations: 129.5 kB / 0.7923 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.01219, allocations: 81.11 kB / 0.7924 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.01254, allocations: 304.3 kB / 0.7927 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.01258, allocations: 33.7 kB / 0.7927 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.01276, allocations: 191 kB / 0.7929 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.01278, allocations: 15.91 kB / 0.7929 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.01293, allocations: 84.77 kB / 0.793 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000281/0.01321, allocations: 0.5079 MB / 0.7935 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.01345, allocations: 139.4 kB / 0.7936 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.01379, allocations: 295.6 kB / 0.7939 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.01411, allocations: 223 kB / 0.7941 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01411, allocations: 0.875 kB / 0.7941 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006629/0.01477, allocations: 397.5 kB / 0.7945 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.426e-05/0.01485, allocations: 67.34 kB / 0.7946 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01485, allocations: 1.375 kB / 0.7946 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.01487, allocations: 8.406 kB / 0.7946 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.01495, allocations: 15.98 kB / 0.7946 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01495, allocations: 1.156 kB / 0.7946 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.01525, allocations: 44.64 kB / 0.7946 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.01528, allocations: 15.98 kB / 0.7946 GB, free: 3.938 MB / 0.7448 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.0001864/0.01547, allocations: 182.5 kB / 0.7948 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.01551, allocations: 27.81 kB / 0.7948 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.01556, allocations: 13.03 kB / 0.7949 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.01556, allocations: 4.562 kB / 0.7949 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01557, allocations: 0 / 0.7949 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01557, allocations: 1.25 kB / 0.7949 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.01583, allocations: 196.6 kB / 0.795 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01583, allocations: 0 / 0.795 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.01586, allocations: 8.953 kB / 0.7951 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.01586, allocations: 4 kB / 0.7951 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.01588, allocations: 7.938 kB / 0.7951 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01588, allocations: 6.25 kB / 0.7951 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01588, allocations: 0 / 0.7951 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.01613, allocations: 155.9 kB / 0.7952 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.01616, allocations: 15.84 kB / 0.7952 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.01618, allocations: 3.938 kB / 0.7952 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.683e-05/0.01622, allocations: 7.984 kB / 0.7952 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.01625, allocations: 7.438 kB / 0.7953 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.01626, allocations: 7.984 kB / 0.7953 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001738/0.01644, allocations: 193.4 kB / 0.7954 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01644, allocations: 0 / 0.7954 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002732/0.01671, allocations: 47.89 kB / 0.7955 GB, free: 3.004 MB / 0.7448 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.0001901/0.0169, allocations: 108.4 kB / 0.7956 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.01744, allocations: 354.6 kB / 0.7959 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.01744, allocations: 0 / 0.7959 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.507e-05/0.01751, allocations: 40.11 kB / 0.796 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.01782, allocations: 34.41 kB / 0.796 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.01844, allocations: 314.5 kB / 0.7963 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.01857, allocations: 114 kB / 0.7964 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.5e-05/0.01864, allocations: 18.73 kB / 0.7964 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.01867, allocations: 18.38 kB / 0.7964 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01867, allocations: 0 / 0.7964 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of Templates: time 0.007404/0.02608, allocations: 2.652 MB / 0.799 GB, free: 15.37 MB / 0.7605 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.15377923194319]