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.001007/0.001007, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.001016/0.001016, allocations: 172 kB / 24.87 MB, free: 8.875 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 0.9942/0.9942, allocations: 177.1 MB / 205.3 MB, free: 5.469 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 1.858/1.858, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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 1.883e-06/1.883e-06, allocations: 0.6562 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.209e-05, allocations: 3.219 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001523/0.001545, allocations: 0.9813 MB / 0.7893 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.003072, allocations: 1.378 MB / 0.7906 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.003155, allocations: 0.625 kB / 0.7906 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.003281, allocations: 23.73 kB / 0.7906 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.003386, allocations: 48.45 kB / 0.7907 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.004045, allocations: 272.8 kB / 0.7909 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.004448, allocations: 384 kB / 0.7913 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.004587, allocations: 45.77 kB / 0.7914 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.004873, allocations: 224.9 kB / 0.7916 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.005027, allocations: 102.7 kB / 0.7917 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.005062, allocations: 24 kB / 0.7917 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.964e-05/0.005152, allocations: 43.98 kB / 0.7917 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.005217, allocations: 55.77 kB / 0.7918 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.448e-05/0.005302, allocations: 87.81 kB / 0.7919 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.005566, allocations: 263 kB / 0.7921 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.005569, allocations: 0 / 0.7921 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.00557, allocations: 1.281 kB / 0.7921 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.005577, allocations: 3.984 kB / 0.7921 GB, free: 8.301 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.0006324/0.006209, allocations: 0.6204 MB / 0.7927 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.006253, allocations: 9.062 kB / 0.7927 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.006496, allocations: 76.7 kB / 0.7928 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.006737, allocations: 231.6 kB / 0.793 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.006761, allocations: 13 kB / 0.793 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.006788, allocations: 20.38 kB / 0.7931 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.007005, allocations: 178.6 kB / 0.7932 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.007015, allocations: 4.172 kB / 0.7932 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.007029, allocations: 10.17 kB / 0.7932 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.007035, allocations: 4.375 kB / 0.7933 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.812e-05/0.007093, allocations: 39.83 kB / 0.7933 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009288/0.008022, allocations: 0.9659 MB / 0.7942 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.00813, allocations: 149.3 kB / 0.7944 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.008169, allocations: 46.48 kB / 0.7944 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.008179, allocations: 4 kB / 0.7944 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.008314, allocations: 149.7 kB / 0.7946 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.008316, allocations: 0 / 0.7946 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002216/0.008537, allocations: 137.8 kB / 0.7947 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.0086, allocations: 162.9 kB / 0.7949 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.008734, allocations: 272.2 kB / 0.7951 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.008756, allocations: 30.23 kB / 0.7951 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.895e-05/0.008845, allocations: 207.1 kB / 0.7953 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.008869, allocations: 29.36 kB / 0.7954 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.00894, allocations: 59.33 kB / 0.7954 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.009049, allocations: 0.4962 MB / 0.7959 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-05/0.00914, allocations: 111.4 kB / 0.796 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.009282, allocations: 269.7 kB / 0.7963 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.009418, allocations: 199.8 kB / 0.7965 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.00942, allocations: 0 / 0.7965 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002932/0.009713, allocations: 342.3 kB / 0.7968 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.009755, allocations: 71.39 kB / 0.7969 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.009762, allocations: 9.75 kB / 0.7969 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.00977, allocations: 0 / 0.7969 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.009848, allocations: 19.98 kB / 0.7969 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.009852, allocations: 11.92 kB / 0.7969 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.01001, allocations: 62.94 kB / 0.797 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.01003, allocations: 11.98 kB / 0.797 GB, free: 2.824 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.386e-05/0.01013, allocations: 172.6 kB / 0.7971 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.01016, allocations: 23.86 kB / 0.7972 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.01019, allocations: 25.27 kB / 0.7972 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01019, allocations: 9.938 kB / 0.7972 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.01019, allocations: 0 / 0.7972 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.0102, allocations: 4 kB / 0.7972 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.01032, allocations: 149.2 kB / 0.7973 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01032, allocations: 4 kB / 0.7973 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.01036, allocations: 16.48 kB / 0.7974 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.01037, allocations: 5.844 kB / 0.7974 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.01038, allocations: 4 kB / 0.7974 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01038, allocations: 4 kB / 0.7974 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.01038, allocations: 4.406 kB / 0.7974 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.01055, allocations: 179.5 kB / 0.7975 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.01057, allocations: 24.69 kB / 0.7976 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.01059, allocations: 8 kB / 0.7976 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.01063, allocations: 9.078 kB / 0.7976 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.01068, allocations: 23.91 kB / 0.7976 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.01069, allocations: 4 kB / 0.7976 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.236e-05/0.01076, allocations: 177.6 kB / 0.7978 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/0.01076, allocations: 4.656 kB / 0.7978 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001966/0.01096, allocations: 55.88 kB / 0.7978 GB, free: 1.867 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.0001301/0.01109, allocations: 115.5 kB / 0.7979 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.01133, allocations: 285.7 kB / 0.7982 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01133, allocations: 0 / 0.7982 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.927e-05/0.01138, allocations: 43.59 kB / 0.7983 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.0116, allocations: 46.86 kB / 0.7983 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.01202, allocations: 394.6 kB / 0.7987 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.098e-05/0.01207, allocations: 77.11 kB / 0.7988 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.016e-05/0.01213, allocations: 28.12 kB / 0.7988 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.01227, allocations: 130.2 kB / 0.7989 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.01227, allocations: 0 / 0.7989 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of Templates: time 0.005393/0.01767, allocations: 3.665 MB / 0.8025 GB, free: 13.07 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.204851668793708]