Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001651/0.001651, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001743/0.001743, allocations: 161 kB / 23.82 MB, free: 0.75 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.024/1.024, allocations: 177.1 MB / 204.2 MB, free: 5.266 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.953/1.953, 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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.[0-9,]+.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.[0-9,]+.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.846e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002772/0.002801, allocations: 1.294 MB / 0.7884 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.005371, allocations: 1.617 MB / 0.7899 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.005508, allocations: 1.219 kB / 0.7899 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.005693, allocations: 39.53 kB / 0.79 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.005857, allocations: 72 kB / 0.7901 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.007161, allocations: 0.4925 MB / 0.7905 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007581/0.007919, allocations: 0.6528 MB / 0.7912 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.008241, allocations: 109.9 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004569/0.008698, allocations: 368.2 kB / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.009007, allocations: 199.4 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.009109, allocations: 64.91 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.009253, allocations: 76 kB / 0.792 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.009354, allocations: 80.34 kB / 0.792 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.009591, allocations: 191.6 kB / 0.7922 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006042/0.0102, allocations: 488.1 kB / 0.7927 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.0102, allocations: 0 / 0.7927 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.0102, allocations: 0 / 0.7927 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.01021, allocations: 0 / 0.7927 GB, free: 6.766 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001196/0.0114, allocations: 0.9531 MB / 0.7936 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.01146, allocations: 12.03 kB / 0.7936 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003676/0.01182, allocations: 68.66 kB / 0.7937 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009163/0.01274, allocations: 395.8 kB / 0.7941 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.01279, allocations: 24.88 kB / 0.7941 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.123e-05/0.01287, allocations: 40.38 kB / 0.7941 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.01343, allocations: 393.8 kB / 0.7945 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.01345, allocations: 192 / 0.7945 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.01348, allocations: 16.36 kB / 0.7945 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.0135, allocations: 12.84 kB / 0.7945 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.01381, allocations: 259.4 kB / 0.7948 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.01516, allocations: 0.7856 MB / 0.7955 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.01556, allocations: 327.1 kB / 0.7959 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.01586, allocations: 289.5 kB / 0.7961 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.01588, allocations: 4 kB / 0.7961 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000396/0.01628, allocations: 375.9 kB / 0.7965 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 2.535e-06/0.01628, allocations: 0 / 0.7965 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.001028/0.01731, allocations: 0.8775 MB / 0.7973 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.01741, allocations: 191.9 kB / 0.7975 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.01771, allocations: 319.6 kB / 0.7978 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.01777, allocations: 45.7 kB / 0.7979 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.01793, allocations: 223.5 kB / 0.7981 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.01804, allocations: 130.9 kB / 0.7982 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.01826, allocations: 143.2 kB / 0.7984 GB, free: 456 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.01847, allocations: 0.5196 MB / 0.7989 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/0.01895, allocations: 436.2 kB / 0.7993 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/0.01951, allocations: 0.5443 MB / 0.7998 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/0.02043, allocations: 0.7596 MB / 0.8006 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.02043, allocations: 0.5625 kB / 0.8006 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00132/0.02175, allocations: 1.107 MB / 0.8016 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.02189, allocations: 263.2 kB / 0.8019 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.0219, allocations: 0 / 0.8019 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.02193, allocations: 4 kB / 0.8019 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.02215, allocations: 60.81 kB / 0.8019 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.02217, allocations: 7.984 kB / 0.802 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.0226, allocations: 118 kB / 0.8021 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.02271, allocations: 67.86 kB / 0.8021 GB, free: 12.12 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0002356/0.02295, allocations: 330 kB / 0.8024 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.02302, allocations: 57.11 kB / 0.8025 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.315e-05/0.0231, allocations: 39.36 kB / 0.8025 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.0231, allocations: 8.875 kB / 0.8025 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.02311, allocations: 0 / 0.8025 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.02312, allocations: 7.922 kB / 0.8026 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.02437, allocations: 1.095 MB / 0.8036 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.02438, allocations: 4 kB / 0.8036 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.02457, allocations: 57 kB / 0.8037 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.02457, allocations: 0 / 0.8037 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.0246, allocations: 19.98 kB / 0.8037 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.0246, allocations: 1.062 kB / 0.8037 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.02461, allocations: 4 kB / 0.8037 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000756/0.02536, allocations: 0.8049 MB / 0.8045 GB, free: 9.477 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.02542, allocations: 43.64 kB / 0.8045 GB, free: 9.434 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.02546, allocations: 8.5 kB / 0.8045 GB, free: 9.426 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.02561, allocations: 24.97 kB / 0.8046 GB, free: 9.402 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.02572, allocations: 35.94 kB / 0.8046 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/0.02579, allocations: 49 kB / 0.8046 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001686/0.02596, allocations: 215 kB / 0.8049 GB, free: 9.113 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02596, allocations: 0 / 0.8049 GB, free: 9.113 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004743/0.02643, allocations: 113.2 kB / 0.805 GB, free: 9.004 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0001765/0.02661, allocations: 119.9 kB / 0.8051 GB, free: 8.879 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.02777, allocations: 1.276 MB / 0.8063 GB, free: 7.406 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02778, allocations: 0 / 0.8063 GB, free: 7.406 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.02821, allocations: 0.5578 MB / 0.8069 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.02879, allocations: 95.56 kB / 0.807 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.03005, allocations: 0.8449 MB / 0.8078 GB, free: 5.754 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.03017, allocations: 113.1 kB / 0.8079 GB, free: 5.625 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002026/0.03037, allocations: 81.17 kB / 0.808 GB, free: 5.543 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.03045, allocations: 32.5 kB / 0.808 GB, free: 5.512 MB / 0.7605 GB Notification: Performance of SimCode: time 6.01e-07/0.03045, allocations: 0 / 0.808 GB, free: 5.512 MB / 0.7605 GB Notification: Performance of Templates: time 0.01279/0.04324, allocations: 7.035 MB / 0.8149 GB, free: 14.63 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.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.926025296095759]