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.001465/0.001465, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001888/0.001888, allocations: 158.9 kB / 22.45 MB, free: 5.375 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.512/1.512, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.948/2.948, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.974e-06/1.974e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.217e-05, allocations: 5.234 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002038/0.00207, allocations: 0.8399 MB / 0.9822 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.004097, allocations: 1.33 MB / 0.9835 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.688e-05/0.004174, allocations: 7.938 kB / 0.9836 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.004304, allocations: 19.8 kB / 0.9836 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.587e-05/0.00439, allocations: 23.8 kB / 0.9836 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000819/0.005209, allocations: 271.5 kB / 0.9839 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.005632, allocations: 335.3 kB / 0.9842 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.005787, allocations: 37.59 kB / 0.9842 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.00604, allocations: 183.7 kB / 0.9844 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.006236, allocations: 91.69 kB / 0.9845 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.505e-05/0.006301, allocations: 32 kB / 0.9845 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.006426, allocations: 47.98 kB / 0.9846 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.331e-05/0.006519, allocations: 47.84 kB / 0.9846 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.00667, allocations: 87.81 kB / 0.9847 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.007135, allocations: 390.9 kB / 0.9851 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.007137, allocations: 0 / 0.9851 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.007139, allocations: 0 / 0.9851 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.007144, allocations: 0 / 0.9851 GB, free: 8.219 MB / 0.9356 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.0007636/0.007908, allocations: 488.6 kB / 0.9855 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.007951, allocations: 12.03 kB / 0.9855 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003619/0.008313, allocations: 64.77 kB / 0.9856 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000617/0.00893, allocations: 243 kB / 0.9858 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.008957, allocations: 16.36 kB / 0.9858 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.008994, allocations: 12.38 kB / 0.9859 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.009255, allocations: 147.6 kB / 0.986 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.009266, allocations: 4.125 kB / 0.986 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.009283, allocations: 8.375 kB / 0.986 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.009292, allocations: 8.125 kB / 0.986 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.00942, allocations: 67.88 kB / 0.9861 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007687/0.01019, allocations: 0.6568 MB / 0.9867 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.0103, allocations: 53.2 kB / 0.9868 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.01035, allocations: 25.77 kB / 0.9868 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.01036, allocations: 0 / 0.9868 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.01058, allocations: 109 kB / 0.9869 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.01058, allocations: 0 / 0.9869 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.000308/0.01089, allocations: 125.5 kB / 0.987 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.01095, allocations: 85.11 kB / 0.9871 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.01117, allocations: 211.8 kB / 0.9873 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.01121, allocations: 33.7 kB / 0.9873 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.01134, allocations: 148.2 kB / 0.9875 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.01136, allocations: 15.89 kB / 0.9875 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.01148, allocations: 65.67 kB / 0.9876 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.01163, allocations: 326.8 kB / 0.9879 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.01183, allocations: 127.4 kB / 0.988 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.0121, allocations: 247.3 kB / 0.9882 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.01236, allocations: 190.2 kB / 0.9884 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.01236, allocations: 4 kB / 0.9884 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000569/0.01293, allocations: 368.1 kB / 0.9888 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.075e-05/0.013, allocations: 63.34 kB / 0.9888 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01301, allocations: 0 / 0.9888 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.01303, allocations: 8.188 kB / 0.9888 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/0.0131, allocations: 19.92 kB / 0.9888 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.01311, allocations: 4 kB / 0.9888 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.01347, allocations: 55.83 kB / 0.9889 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.0135, allocations: 15.98 kB / 0.9889 GB, free: 3.883 MB / 0.9356 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.0001489/0.01365, allocations: 137.8 kB / 0.989 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.01368, allocations: 27.84 kB / 0.9891 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.01372, allocations: 28.95 kB / 0.9891 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01372, allocations: 0 / 0.9891 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01373, allocations: 0 / 0.9891 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01373, allocations: 0 / 0.9891 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.0139, allocations: 161.3 kB / 0.9893 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.0139, allocations: 0 / 0.9893 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.01392, allocations: 4 kB / 0.9893 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01393, allocations: 0 / 0.9893 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.01394, allocations: 3.938 kB / 0.9893 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01394, allocations: 8 kB / 0.9893 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01394, allocations: 0 / 0.9893 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.01414, allocations: 137.8 kB / 0.9894 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.01417, allocations: 23.77 kB / 0.9894 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.01419, allocations: 7.938 kB / 0.9894 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.173e-05/0.01422, allocations: 0 / 0.9894 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.01426, allocations: 12.45 kB / 0.9894 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.01426, allocations: 4 kB / 0.9894 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001282/0.01439, allocations: 137.5 kB / 0.9896 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.01439, allocations: 4 kB / 0.9896 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002791/0.01467, allocations: 43.89 kB / 0.9896 GB, free: 3.098 MB / 0.9356 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.0001751/0.01485, allocations: 112.2 kB / 0.9897 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005636/0.01541, allocations: 306 kB / 0.99 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01541, allocations: 0 / 0.99 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.95e-05/0.01547, allocations: 23.98 kB / 0.99 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.01578, allocations: 36.3 kB / 0.9901 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.01636, allocations: 303.3 kB / 0.9904 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.01648, allocations: 111.6 kB / 0.9905 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.58e-05/0.01655, allocations: 25.47 kB / 0.9905 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.01659, allocations: 20.5 kB / 0.9905 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.01659, allocations: 0 / 0.9905 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of Templates: time 0.006912/0.0235, allocations: 2.647 MB / 0.9931 GB, free: 15.5 MB / 0.9512 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: 8.416158560663462]