Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001163/0.001163, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001097/0.001097, allocations: 169 kB / 23.82 MB, free: 0.7422 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.053/1.053, allocations: 177.2 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.002/2.002, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.597e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001677/0.001703, allocations: 0.9913 MB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.0033, allocations: 1.378 MB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.003378, allocations: 7.938 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.003513, allocations: 15.8 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.484e-05/0.003608, allocations: 48.44 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000901/0.004509, allocations: 268.8 kB / 0.7897 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.004859, allocations: 396.2 kB / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.005016, allocations: 37.78 kB / 0.7902 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.005231, allocations: 215.6 kB / 0.7904 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.005451, allocations: 113.3 kB / 0.7905 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.005496, allocations: 32 kB / 0.7905 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.005601, allocations: 47.98 kB / 0.7906 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.005684, allocations: 59.77 kB / 0.7906 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.005791, allocations: 101.9 kB / 0.7907 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.006098, allocations: 295 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.006101, allocations: 0 / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.01e-07/0.006101, allocations: 0 / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.006107, allocations: 0 / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006787/0.006786, allocations: 0.6297 MB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.006823, allocations: 8.031 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.007082, allocations: 80.72 kB / 0.7917 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.007539, allocations: 289.2 kB / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.007569, allocations: 16.38 kB / 0.792 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.007602, allocations: 20.38 kB / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.007987, allocations: 182.2 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.007998, allocations: 4.719 kB / 0.7922 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.008014, allocations: 8.875 kB / 0.7922 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.008028, allocations: 8.125 kB / 0.7922 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.933e-05/0.008108, allocations: 41.12 kB / 0.7922 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.008794, allocations: 1.009 MB / 0.7932 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.008914, allocations: 147.4 kB / 0.7934 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.008968, allocations: 55.2 kB / 0.7934 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.008978, allocations: 0 / 0.7934 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.009133, allocations: 157.5 kB / 0.7936 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.009135, allocations: 3.938 kB / 0.7936 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002609/0.009395, allocations: 134.1 kB / 0.7937 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.009458, allocations: 159.3 kB / 0.7938 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.009622, allocations: 276.3 kB / 0.7941 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.009647, allocations: 29.7 kB / 0.7941 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.594e-05/0.009743, allocations: 204.4 kB / 0.7943 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.009771, allocations: 31.73 kB / 0.7944 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/0.009846, allocations: 59.34 kB / 0.7944 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.009977, allocations: 0.5014 MB / 0.7949 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.0101, allocations: 111.4 kB / 0.795 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.01027, allocations: 277 kB / 0.7953 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.01076, allocations: 215.5 kB / 0.7955 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01076, allocations: 0 / 0.7955 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003575/0.01112, allocations: 365.8 kB / 0.7958 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.01116, allocations: 64.89 kB / 0.7959 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.01117, allocations: 4 kB / 0.7959 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.01119, allocations: 0 / 0.7959 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.01128, allocations: 29.17 kB / 0.7959 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.01129, allocations: 8 kB / 0.7959 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.01144, allocations: 50.98 kB / 0.796 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.01146, allocations: 11.98 kB / 0.796 GB, free: 2.863 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.567e-05/0.01156, allocations: 176.5 kB / 0.7962 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.01158, allocations: 31.73 kB / 0.7962 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.01162, allocations: 21.33 kB / 0.7962 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.01163, allocations: 4.969 kB / 0.7962 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01163, allocations: 0 / 0.7962 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.01164, allocations: 5.938 kB / 0.7962 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.01179, allocations: 192.5 kB / 0.7964 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01179, allocations: 0 / 0.7964 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.01183, allocations: 15.98 kB / 0.7964 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.01184, allocations: 8.828 kB / 0.7964 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01185, allocations: 3.938 kB / 0.7964 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.01186, allocations: 7.984 kB / 0.7964 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01186, allocations: 0.8438 kB / 0.7964 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.01203, allocations: 189.8 kB / 0.7966 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.01205, allocations: 15.84 kB / 0.7966 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.01207, allocations: 11.94 kB / 0.7966 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.234e-05/0.01211, allocations: 11.98 kB / 0.7967 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.01217, allocations: 19.91 kB / 0.7967 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.01218, allocations: 4 kB / 0.7967 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.747e-05/0.01228, allocations: 197.1 kB / 0.7969 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01228, allocations: 2.25 kB / 0.7969 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001942/0.01247, allocations: 51.89 kB / 0.7969 GB, free: 1.836 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0001243/0.0126, allocations: 99.25 kB / 0.797 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.01289, allocations: 299.8 kB / 0.7973 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01289, allocations: 0 / 0.7973 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.548e-05/0.01295, allocations: 40.73 kB / 0.7973 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.01318, allocations: 59.56 kB / 0.7974 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.01366, allocations: 381.7 kB / 0.7978 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.01371, allocations: 80.47 kB / 0.7978 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.003e-05/0.01378, allocations: 37.86 kB / 0.7979 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.01382, allocations: 24.5 kB / 0.7979 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.01382, allocations: 0 / 0.7979 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of Templates: time 0.005361/0.01918, allocations: 3.325 MB / 0.8011 GB, free: 13.47 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.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.795560157857835]