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.001855/0.001855, allocations: 85.48 kB / 19.44 MB, free: 344 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.002087/0.002087, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.602/1.602, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.388/3.388, allocations: 429.4 MB / 0.6729 GB, free: 4.004 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.414e-06/2.414e-06, allocations: 0 / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.096e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002229/0.00226, allocations: 0.8699 MB / 0.8783 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.00444, allocations: 1.315 MB / 0.8796 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.785e-05/0.004508, allocations: 4 kB / 0.8796 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.004635, allocations: 18.77 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.757e-05/0.004732, allocations: 36.59 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007853/0.005517, allocations: 259.3 kB / 0.8799 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000462/0.005979, allocations: 331.3 kB / 0.8802 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.006136, allocations: 46.14 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.006415, allocations: 181.6 kB / 0.8804 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.006606, allocations: 87.75 kB / 0.8805 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.00668, allocations: 32 kB / 0.8805 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.006806, allocations: 51.91 kB / 0.8806 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.853e-05/0.006905, allocations: 43.84 kB / 0.8806 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.007052, allocations: 93.16 kB / 0.8807 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005206/0.007573, allocations: 378.9 kB / 0.8811 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.007576, allocations: 0 / 0.8811 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.283e-06/0.007577, allocations: 0.7188 kB / 0.8811 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.007584, allocations: 0 / 0.8811 GB, free: 2.961 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.0008956/0.00848, allocations: 0.5978 MB / 0.8817 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.008515, allocations: 8.031 kB / 0.8817 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003753/0.00889, allocations: 68.81 kB / 0.8817 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.009519, allocations: 238.5 kB / 0.882 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.009547, allocations: 12.38 kB / 0.882 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.009594, allocations: 20.38 kB / 0.882 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.009866, allocations: 146 kB / 0.8821 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.009878, allocations: 192 / 0.8821 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.009897, allocations: 8.359 kB / 0.8821 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.009907, allocations: 10.44 kB / 0.8821 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.01002, allocations: 39.92 kB / 0.8822 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.01115, allocations: 0.8671 MB / 0.883 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.01131, allocations: 74.22 kB / 0.8831 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.01137, allocations: 28.14 kB / 0.8831 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.0114, allocations: 5.344 kB / 0.8831 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.01166, allocations: 116.3 kB / 0.8832 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 3.988e-06/0.01166, allocations: 8 kB / 0.8833 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0005734/0.01224, allocations: 121.5 kB / 0.8834 GB, free: 416 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.01232, allocations: 89.03 kB / 0.8835 GB, free: 308 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.01272, allocations: 294.8 kB / 0.8837 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.01277, allocations: 37.7 kB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.01297, allocations: 191 kB / 0.884 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.01301, allocations: 23.8 kB / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.01318, allocations: 83.33 kB / 0.8841 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003293/0.01351, allocations: 0.504 MB / 0.8845 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.01378, allocations: 147.4 kB / 0.8847 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.01415, allocations: 290.6 kB / 0.885 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.01448, allocations: 232.8 kB / 0.8852 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01449, allocations: 0 / 0.8852 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006622/0.01515, allocations: 392.1 kB / 0.8856 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-05/0.01522, allocations: 75.52 kB / 0.8856 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01523, allocations: 0 / 0.8856 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.01525, allocations: 4 kB / 0.8856 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.313e-05/0.01532, allocations: 8 kB / 0.8856 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.01534, allocations: 11.92 kB / 0.8857 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.01564, allocations: 43.86 kB / 0.8857 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.01568, allocations: 15.98 kB / 0.8857 GB, free: 13.77 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.0001914/0.01587, allocations: 177.7 kB / 0.8859 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.01591, allocations: 23.84 kB / 0.8859 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.01597, allocations: 21.02 kB / 0.8859 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.01597, allocations: 3.984 kB / 0.8859 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.01598, allocations: 0 / 0.8859 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.01598, allocations: 4 kB / 0.8859 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.01625, allocations: 192.6 kB / 0.8861 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01625, allocations: 0 / 0.8861 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.01628, allocations: 7.938 kB / 0.8861 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01628, allocations: 0 / 0.8861 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.01629, allocations: 7.938 kB / 0.8861 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.0163, allocations: 7.984 kB / 0.8861 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.01631, allocations: 4 kB / 0.8861 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.01655, allocations: 152 kB / 0.8863 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.01659, allocations: 15.84 kB / 0.8863 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.01661, allocations: 7.938 kB / 0.8863 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.009e-05/0.01664, allocations: 0 / 0.8863 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.01669, allocations: 19.86 kB / 0.8863 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.01669, allocations: 0 / 0.8863 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001814/0.01687, allocations: 197.4 kB / 0.8865 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01687, allocations: 0 / 0.8865 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002737/0.01715, allocations: 43.89 kB / 0.8866 GB, free: 12.83 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.0001856/0.01733, allocations: 107.2 kB / 0.8867 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005312/0.01786, allocations: 349.8 kB / 0.887 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01787, allocations: 0 / 0.887 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.516e-05/0.01794, allocations: 39.61 kB / 0.887 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.01826, allocations: 44.28 kB / 0.8871 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/0.01889, allocations: 302.6 kB / 0.8874 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.01903, allocations: 115.6 kB / 0.8875 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.945e-05/0.0191, allocations: 25.47 kB / 0.8875 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.01914, allocations: 20.44 kB / 0.8875 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of SimCode: time 7.32e-07/0.01914, allocations: 0 / 0.8875 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of Templates: time 0.007506/0.02665, allocations: 2.668 MB / 0.8901 GB, free: 9.148 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] 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.620447834953666]