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.001035/0.001035, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.0009344/0.0009344, allocations: 169 kB / 23.28 MB, free: 1.215 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.025/1.025, allocations: 177.1 MB / 203.7 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 2.467/2.467, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] 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.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",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.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/3.043e-05, allocations: 9.406 kB / 0.8897 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001703/0.001733, allocations: 0.8553 MB / 0.8906 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.003203, allocations: 1.345 MB / 0.8919 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.094e-05/0.003274, allocations: 0 / 0.8919 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.003384, allocations: 23.8 kB / 0.8919 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.003455, allocations: 31.72 kB / 0.892 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.004065, allocations: 259.3 kB / 0.8922 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.004468, allocations: 335.4 kB / 0.8925 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.004596, allocations: 37.66 kB / 0.8926 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.004804, allocations: 195.7 kB / 0.8927 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.004937, allocations: 83.69 kB / 0.8928 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.004971, allocations: 24 kB / 0.8928 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.169e-05/0.005063, allocations: 39.98 kB / 0.8929 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.013e-05/0.005123, allocations: 43.83 kB / 0.8929 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.83e-05/0.005191, allocations: 79.83 kB / 0.893 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.00543, allocations: 223.2 kB / 0.8932 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.005433, allocations: 7.938 kB / 0.8932 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005434, allocations: 3.938 kB / 0.8932 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.005438, allocations: 0 / 0.8932 GB, free: 6.152 MB / 0.8542 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.0005242/0.005962, allocations: 0.5771 MB / 0.8938 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.006006, allocations: 8.625 kB / 0.8938 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.006259, allocations: 64.77 kB / 0.8939 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.006505, allocations: 204.8 kB / 0.8941 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.006532, allocations: 16.36 kB / 0.8941 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.006561, allocations: 28.3 kB / 0.8941 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.006732, allocations: 137.1 kB / 0.8942 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.006743, allocations: 4.188 kB / 0.8942 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.006755, allocations: 4.375 kB / 0.8942 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.006764, allocations: 4.375 kB / 0.8942 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.448e-05/0.006808, allocations: 31.84 kB / 0.8943 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.007408, allocations: 0.7975 MB / 0.895 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.007488, allocations: 62.2 kB / 0.8951 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.548e-05/0.007513, allocations: 23.44 kB / 0.8951 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.007523, allocations: 0 / 0.8951 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.007694, allocations: 116.3 kB / 0.8952 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.007695, allocations: 0 / 0.8952 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0002336/0.007929, allocations: 117.4 kB / 0.8954 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.007977, allocations: 81.05 kB / 0.8954 GB, free: 3.672 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005606/0.008537, allocations: 262.6 kB / 0.8957 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.00857, allocations: 29.7 kB / 0.8957 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.008683, allocations: 191 kB / 0.8959 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.008697, allocations: 15.89 kB / 0.8959 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.9e-05/0.008786, allocations: 67.31 kB / 0.896 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.008922, allocations: 0.4962 MB / 0.8965 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.009025, allocations: 111.4 kB / 0.8966 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.009166, allocations: 255.5 kB / 0.8968 GB, free: 2.133 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.009305, allocations: 192.8 kB / 0.897 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.009308, allocations: 0 / 0.897 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002911/0.009599, allocations: 336.1 kB / 0.8973 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.009655, allocations: 67.39 kB / 0.8974 GB, free: 1.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.009662, allocations: 4 kB / 0.8974 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.00968, allocations: 7.938 kB / 0.8974 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.465e-05/0.009734, allocations: 15.92 kB / 0.8974 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.009738, allocations: 0 / 0.8974 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.009909, allocations: 39.97 kB / 0.8974 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.009927, allocations: 16.17 kB / 0.8975 GB, free: 1.379 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],conInt2.y,conInt3.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.0001084/0.01004, allocations: 168.6 kB / 0.8976 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.01006, allocations: 27.78 kB / 0.8976 GB, free: 1.176 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.0101, allocations: 17.03 kB / 0.8977 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.01011, allocations: 7.938 kB / 0.8977 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.01011, allocations: 0 / 0.8977 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01011, allocations: 480 / 0.8977 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.01024, allocations: 145.1 kB / 0.8978 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01024, allocations: 0 / 0.8978 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/0.01026, allocations: 8 kB / 0.8978 GB, free: 0.9727 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01026, allocations: 0 / 0.8978 GB, free: 0.9727 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.01027, allocations: 4 kB / 0.8978 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01027, allocations: 0 / 0.8978 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01027, allocations: 0 / 0.8978 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.0104, allocations: 151.8 kB / 0.898 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.01042, allocations: 19.89 kB / 0.898 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.01043, allocations: 0 / 0.898 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.823e-05/0.01046, allocations: 0 / 0.898 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.01049, allocations: 11.92 kB / 0.898 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.0105, allocations: 12 kB / 0.898 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.655e-05/0.01056, allocations: 168.1 kB / 0.8982 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.01056, allocations: 0 / 0.8982 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001829/0.01075, allocations: 47.89 kB / 0.8982 GB, free: 0.5391 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.0001433/0.01089, allocations: 105.4 kB / 0.8983 GB, free: 436 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.01111, allocations: 281.7 kB / 0.8986 GB, free: 112 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01112, allocations: 4 kB / 0.8986 GB, free: 108 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.652e-05/0.01114, allocations: 27.67 kB / 0.8986 GB, free: 76 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.01134, allocations: 36.34 kB / 0.8986 GB, free: 40 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.01174, allocations: 302.4 kB / 0.8989 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.735e-05/0.01177, allocations: 71.98 kB / 0.899 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.22e-05/0.01181, allocations: 17.48 kB / 0.899 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.01194, allocations: 122.2 kB / 0.8991 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/0.01194, allocations: 0 / 0.8991 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of Templates: time 0.00463/0.01657, allocations: 2.851 MB / 0.9019 GB, free: 12.7 MB / 0.8698 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.483352130744606]