Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001461/0.001461, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001573/0.001573, allocations: 157.6 kB / 22.75 MB, free: 1.68 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.659/1.659, allocations: 177.1 MB / 203.1 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.291/3.291, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.72e-05/4.014e-05, allocations: 5.406 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002561/0.002601, allocations: 0.8578 MB / 0.8784 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.004949, allocations: 1.307 MB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.005041, allocations: 4 kB / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.005187, allocations: 19.11 kB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.005307, allocations: 36.16 kB / 0.8798 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.006404, allocations: 263.3 kB / 0.88 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005315/0.006936, allocations: 328.7 kB / 0.8803 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.00714, allocations: 37.66 kB / 0.8804 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000368/0.007508, allocations: 187.7 kB / 0.8805 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.007754, allocations: 91.67 kB / 0.8806 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.091e-05/0.007825, allocations: 32.72 kB / 0.8807 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.007961, allocations: 43.98 kB / 0.8807 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.561e-05/0.008057, allocations: 48.48 kB / 0.8807 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.00824, allocations: 95.38 kB / 0.8808 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.008823, allocations: 374.9 kB / 0.8812 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.008828, allocations: 0 / 0.8812 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.202e-06/0.008829, allocations: 0 / 0.8812 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.008841, allocations: 7.938 kB / 0.8812 GB, free: 2.828 MB / 0.8386 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.0009581/0.009799, allocations: 488.7 kB / 0.8817 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.009839, allocations: 8.031 kB / 0.8817 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004477/0.01029, allocations: 72.8 kB / 0.8817 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007091/0.011, allocations: 243.7 kB / 0.882 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.1e-05/0.01105, allocations: 12.38 kB / 0.882 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.01109, allocations: 20.38 kB / 0.882 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.01138, allocations: 149.5 kB / 0.8822 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.01139, allocations: 192 / 0.8822 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.01141, allocations: 9.297 kB / 0.8822 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.01142, allocations: 8.125 kB / 0.8822 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.01158, allocations: 67.89 kB / 0.8822 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009372/0.01252, allocations: 0.6505 MB / 0.8829 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.01264, allocations: 53.25 kB / 0.8829 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.0127, allocations: 27.86 kB / 0.8829 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.01271, allocations: 0 / 0.8829 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.01299, allocations: 112.9 kB / 0.8831 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.01299, allocations: 0 / 0.8831 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003655/0.01336, allocations: 128 kB / 0.8832 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.01343, allocations: 88.98 kB / 0.8833 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.01371, allocations: 207.8 kB / 0.8835 GB, free: 320 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.01376, allocations: 33.7 kB / 0.8835 GB, free: 280 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.01392, allocations: 140.3 kB / 0.8836 GB, free: 136 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.01395, allocations: 23.84 kB / 0.8836 GB, free: 112 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.01409, allocations: 62.39 kB / 0.8837 GB, free: 44 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000243/0.01433, allocations: 326.8 kB / 0.884 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.01458, allocations: 133 kB / 0.8841 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.01497, allocations: 243.3 kB / 0.8844 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.0153, allocations: 199.5 kB / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01531, allocations: 4.031 kB / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007053/0.01601, allocations: 372.1 kB / 0.8849 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/0.01609, allocations: 73.67 kB / 0.885 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.0161, allocations: 0 / 0.885 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.01613, allocations: 4 kB / 0.885 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.0162, allocations: 8 kB / 0.885 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.01621, allocations: 3.938 kB / 0.885 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.01658, allocations: 68.02 kB / 0.8851 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.01662, allocations: 11.98 kB / 0.8851 GB, free: 14.48 MB / 0.8542 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.0002095/0.01683, allocations: 141.8 kB / 0.8852 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.01687, allocations: 23.84 kB / 0.8852 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.01692, allocations: 21.02 kB / 0.8853 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01692, allocations: 0 / 0.8853 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01692, allocations: 4 kB / 0.8853 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01693, allocations: 4 kB / 0.8853 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.01713, allocations: 157.3 kB / 0.8854 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.01714, allocations: 0 / 0.8854 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.01717, allocations: 7.938 kB / 0.8854 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01717, allocations: 0 / 0.8854 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.01718, allocations: 7.938 kB / 0.8854 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.01719, allocations: 3.984 kB / 0.8854 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01719, allocations: 0 / 0.8854 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.01742, allocations: 142.3 kB / 0.8856 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.01745, allocations: 15.84 kB / 0.8856 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.01748, allocations: 15.94 kB / 0.8856 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.615e-05/0.01752, allocations: 4 kB / 0.8856 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.01756, allocations: 15.91 kB / 0.8856 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.01757, allocations: 4 kB / 0.8856 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001789/0.01775, allocations: 149.5 kB / 0.8858 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01775, allocations: 0 / 0.8858 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002969/0.01805, allocations: 43.89 kB / 0.8858 GB, free: 13.67 MB / 0.8542 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.0001888/0.01824, allocations: 103.2 kB / 0.8859 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005334/0.01877, allocations: 302.1 kB / 0.8862 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01877, allocations: 0 / 0.8862 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.01885, allocations: 27.92 kB / 0.8862 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.01917, allocations: 40.02 kB / 0.8863 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007718/0.01994, allocations: 314 kB / 0.8866 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.02009, allocations: 123.8 kB / 0.8867 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.565e-05/0.02016, allocations: 17.48 kB / 0.8867 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.02021, allocations: 20.48 kB / 0.8867 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.02021, allocations: 0 / 0.8867 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of Templates: time 0.007261/0.02747, allocations: 2.653 MB / 0.8893 GB, free: 10.07 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.460201009991579]