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.001139/0.001139, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008439/0.0008439, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8915/0.8915, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.756/1.756, allocations: 377.9 MB / 0.6229 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/2.018e-05, allocations: 5.094 kB / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001296/0.001316, allocations: 0.8514 MB / 0.983 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.002546, allocations: 1.322 MB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.002604, allocations: 0 / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 9.387e-05/0.002697, allocations: 11.81 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.609e-05/0.002764, allocations: 43.7 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.003282, allocations: 259.7 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.003542, allocations: 327.3 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.003665, allocations: 45.59 kB / 0.985 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.003819, allocations: 183.7 kB / 0.9852 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.00394, allocations: 87.75 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.003971, allocations: 32 kB / 0.9853 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.876e-05/0.004049, allocations: 51.97 kB / 0.9853 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.004104, allocations: 39.84 kB / 0.9854 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.692e-05/0.00418, allocations: 95.8 kB / 0.9854 GB, free: 14.74 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.004472, allocations: 378.9 kB / 0.9858 GB, free: 14.37 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004474, allocations: 0 / 0.9858 GB, free: 14.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.02e-07/0.004475, allocations: 0 / 0.9858 GB, free: 14.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.004479, allocations: 0 / 0.9858 GB, free: 14.37 MB / 0.948 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.0006296/0.005108, allocations: 492.6 kB / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.005141, allocations: 8.031 kB / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.005384, allocations: 72.75 kB / 0.9864 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.005766, allocations: 237.2 kB / 0.9866 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.005787, allocations: 16.36 kB / 0.9866 GB, free: 13.49 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.005814, allocations: 20.38 kB / 0.9866 GB, free: 13.47 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.005975, allocations: 149.6 kB / 0.9868 GB, free: 13.31 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.005985, allocations: 4.188 kB / 0.9868 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.005996, allocations: 4.375 kB / 0.9868 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.006002, allocations: 8.125 kB / 0.9868 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.943e-05/0.006082, allocations: 71.84 kB / 0.9868 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.006571, allocations: 0.6528 MB / 0.9875 GB, free: 12.53 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.919e-05/0.00664, allocations: 57.23 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.006666, allocations: 21.78 kB / 0.9876 GB, free: 12.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.006675, allocations: 0 / 0.9876 GB, free: 12.43 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.006807, allocations: 101 kB / 0.9877 GB, free: 12.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.006808, allocations: 0 / 0.9877 GB, free: 12.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002197/0.007028, allocations: 137.5 kB / 0.9878 GB, free: 12.17 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.007063, allocations: 77.11 kB / 0.9879 GB, free: 12.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.007197, allocations: 219.7 kB / 0.9881 GB, free: 11.85 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.007221, allocations: 33.7 kB / 0.9881 GB, free: 11.81 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.007297, allocations: 144.2 kB / 0.9882 GB, free: 11.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.007309, allocations: 15.89 kB / 0.9882 GB, free: 11.65 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.007379, allocations: 61.69 kB / 0.9883 GB, free: 11.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.007468, allocations: 330.8 kB / 0.9886 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.007598, allocations: 131.4 kB / 0.9887 GB, free: 11.11 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.007747, allocations: 247.2 kB / 0.989 GB, free: 10.81 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.007896, allocations: 190.2 kB / 0.9892 GB, free: 10.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007898, allocations: 0 / 0.9892 GB, free: 10.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003149/0.008212, allocations: 364.1 kB / 0.9895 GB, free: 10.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/0.008248, allocations: 67.52 kB / 0.9896 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.008252, allocations: 8 kB / 0.9896 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.008263, allocations: 4 kB / 0.9896 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.492e-05/0.008308, allocations: 11.94 kB / 0.9896 GB, free: 10.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.008314, allocations: 3.984 kB / 0.9896 GB, free: 10.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.008495, allocations: 59.84 kB / 0.9897 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.008513, allocations: 15.98 kB / 0.9897 GB, free: 10.02 MB / 0.948 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.557e-05/0.008608, allocations: 149.8 kB / 0.9898 GB, free: 9.871 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.008624, allocations: 23.83 kB / 0.9898 GB, free: 9.848 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.008652, allocations: 13.03 kB / 0.9899 GB, free: 9.836 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.008654, allocations: 0 / 0.9899 GB, free: 9.836 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.008658, allocations: 4 kB / 0.9899 GB, free: 9.832 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.008661, allocations: 480 / 0.9899 GB, free: 9.832 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.772e-05/0.008759, allocations: 165.2 kB / 0.99 GB, free: 9.641 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.00876, allocations: 0 / 0.99 GB, free: 9.641 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.008773, allocations: 7.938 kB / 0.99 GB, free: 9.633 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.008777, allocations: 7.984 kB / 0.99 GB, free: 9.625 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.008784, allocations: 7.938 kB / 0.99 GB, free: 9.617 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.008785, allocations: 0 / 0.99 GB, free: 9.617 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.008786, allocations: 0 / 0.99 GB, free: 9.617 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.008901, allocations: 133.9 kB / 0.9902 GB, free: 9.465 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.008918, allocations: 27.72 kB / 0.9902 GB, free: 9.438 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.008931, allocations: 3.938 kB / 0.9902 GB, free: 9.434 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.942e-05/0.008951, allocations: 7.984 kB / 0.9902 GB, free: 9.426 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.008973, allocations: 3.938 kB / 0.9902 GB, free: 9.422 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.00898, allocations: 11.98 kB / 0.9902 GB, free: 9.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.59e-05/0.009056, allocations: 141.5 kB / 0.9904 GB, free: 9.273 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.009056, allocations: 4 kB / 0.9904 GB, free: 9.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001748/0.009231, allocations: 47.89 kB / 0.9904 GB, free: 9.223 MB / 0.948 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.0001016/0.009332, allocations: 106.9 kB / 0.9905 GB, free: 9.113 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.009604, allocations: 298.1 kB / 0.9908 GB, free: 8.785 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.009605, allocations: 0 / 0.9908 GB, free: 8.785 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.009645, allocations: 31.92 kB / 0.9908 GB, free: 8.754 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.009828, allocations: 40.41 kB / 0.9909 GB, free: 8.715 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.0102, allocations: 337 kB / 0.9912 GB, free: 8.344 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.778e-05/0.01027, allocations: 111.6 kB / 0.9913 GB, free: 8.215 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.01029, allocations: 24.42 kB / 0.9913 GB, free: 8.191 MB / 0.948 GB Notification: Performance of SimCode: time 3.8e-07/0.01029, allocations: 4 kB / 0.9913 GB, free: 8.188 MB / 0.948 GB Notification: Performance of Templates: time 0.002887/0.01318, allocations: 2.545 MB / 0.9938 GB, free: 5.676 MB / 0.948 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: 6.80460886657238]