Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008256/0.0008256, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008187/0.0008187, allocations: 178.2 kB / 23.22 MB, free: 1.344 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.924/0.924, allocations: 177.1 MB / 203.5 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.809/1.809, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_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.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.451e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001934/0.001969, allocations: 1.254 MB / 0.9834 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.003735, allocations: 1.567 MB / 0.985 GB, free: 15.25 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.003856, allocations: 3.938 kB / 0.985 GB, free: 15.25 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.003995, allocations: 43.53 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.004101, allocations: 79.31 kB / 0.9851 GB, free: 15.12 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000858/0.004959, allocations: 0.4909 MB / 0.9856 GB, free: 14.64 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.005423, allocations: 0.6597 MB / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.005674, allocations: 113.3 kB / 0.9863 GB, free: 13.87 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.005964, allocations: 375.4 kB / 0.9867 GB, free: 13.5 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.006157, allocations: 199.4 kB / 0.9869 GB, free: 13.31 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.006219, allocations: 64 kB / 0.9869 GB, free: 13.25 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.006324, allocations: 76 kB / 0.987 GB, free: 13.17 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.006398, allocations: 79.69 kB / 0.9871 GB, free: 13.09 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.00655, allocations: 195.5 kB / 0.9873 GB, free: 12.9 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.007125, allocations: 0.7518 MB / 0.988 GB, free: 12.15 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.007131, allocations: 3.984 kB / 0.988 GB, free: 12.14 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.007132, allocations: 4 kB / 0.988 GB, free: 12.14 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.007139, allocations: 3.938 kB / 0.988 GB, free: 12.14 MB / 0.948 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.0009334/0.008072, allocations: 0.875 MB / 0.9889 GB, free: 11.17 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.008112, allocations: 8.031 kB / 0.9889 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.008212, allocations: 56.64 kB / 0.9889 GB, free: 11.11 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007611/0.008973, allocations: 400.7 kB / 0.9893 GB, free: 10.69 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.009007, allocations: 28.88 kB / 0.9893 GB, free: 10.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.009058, allocations: 40.36 kB / 0.9894 GB, free: 10.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.009533, allocations: 457 kB / 0.9898 GB, free: 10.14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.009544, allocations: 192 / 0.9898 GB, free: 10.14 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.009565, allocations: 12.38 kB / 0.9898 GB, free: 10.13 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.009575, allocations: 16.06 kB / 0.9898 GB, free: 10.11 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/0.009985, allocations: 390.2 kB / 0.9902 GB, free: 9.703 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.01113, allocations: 0.7283 MB / 0.9909 GB, free: 8.941 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.01158, allocations: 482.2 kB / 0.9914 GB, free: 8.434 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.01191, allocations: 397.2 kB / 0.9917 GB, free: 8.012 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.01192, allocations: 0 / 0.9917 GB, free: 8.012 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000395/0.01232, allocations: 456.3 kB / 0.9922 GB, free: 7.523 MB / 0.948 GB Notification: Performance of pre-optimization done (n=44): time 4.118e-06/0.01232, allocations: 3.938 kB / 0.9922 GB, free: 7.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=44): time 0.001065/0.01339, allocations: 1.1 MB / 0.9933 GB, free: 6.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/0.01347, allocations: 191.9 kB / 0.9934 GB, free: 6.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.01369, allocations: 284.4 kB / 0.9937 GB, free: 5.809 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.01373, allocations: 49.7 kB / 0.9938 GB, free: 5.754 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.01384, allocations: 168.9 kB / 0.9939 GB, free: 5.586 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.329e-05/0.01391, allocations: 134.9 kB / 0.9941 GB, free: 5.453 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.01405, allocations: 134.1 kB / 0.9942 GB, free: 5.316 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.01415, allocations: 346.8 kB / 0.9945 GB, free: 4.969 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.0146, allocations: 0.5235 MB / 0.995 GB, free: 4.391 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.01509, allocations: 0.6142 MB / 0.9956 GB, free: 3.688 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007354/0.01582, allocations: 0.9214 MB / 0.9965 GB, free: 2.652 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.01583, allocations: 0 / 0.9965 GB, free: 2.652 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001194/0.01702, allocations: 1.26 MB / 0.9978 GB, free: 1.273 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.01713, allocations: 259.2 kB / 0.998 GB, free: 0.9648 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.01714, allocations: 4 kB / 0.998 GB, free: 0.9609 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.01716, allocations: 4 kB / 0.998 GB, free: 0.957 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.01733, allocations: 71.83 kB / 0.9981 GB, free: 0.8867 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.01734, allocations: 4 kB / 0.9981 GB, free: 0.8828 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.01771, allocations: 139.8 kB / 0.9982 GB, free: 0.7461 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-05/0.01779, allocations: 75.86 kB / 0.9983 GB, free: 0.6719 MB / 0.948 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.0002185/0.01801, allocations: 310.8 kB / 0.9986 GB, free: 336 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.01805, allocations: 43.75 kB / 0.9986 GB, free: 292 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.025e-05/0.01811, allocations: 43.36 kB / 0.9987 GB, free: 244 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-06/0.01812, allocations: 11.98 kB / 0.9987 GB, free: 232 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.01812, allocations: 4 kB / 0.9987 GB, free: 228 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01813, allocations: 0 / 0.9987 GB, free: 228 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.01924, allocations: 1.223 MB / 0.9999 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01924, allocations: 0 / 0.9999 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.01937, allocations: 63.89 kB / 0.9999 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.01938, allocations: 0 / 0.9999 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.0194, allocations: 19.98 kB / 1 GB, free: 14.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.0194, allocations: 0 / 1 GB, free: 14.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.0194, allocations: 0 / 1 GB, free: 14.82 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006853/0.02009, allocations: 0.8996 MB / 1.001 GB, free: 13.84 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.02012, allocations: 31.7 kB / 1.001 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.02015, allocations: 12 kB / 1.001 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.02027, allocations: 31.97 kB / 1.001 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.02034, allocations: 39.88 kB / 1.001 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.02039, allocations: 51.88 kB / 1.001 GB, free: 13.68 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001259/0.02051, allocations: 187.1 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.02051, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003225/0.02084, allocations: 111.9 kB / 1.001 GB, free: 13.39 MB / 0.9636 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.0001749/0.02101, allocations: 115.2 kB / 1.001 GB, free: 13.26 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.02206, allocations: 1.438 MB / 1.003 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.02206, allocations: 0 / 1.003 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.02246, allocations: 0.6306 MB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.02282, allocations: 92.45 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.02396, allocations: 0.9663 MB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.02409, allocations: 192.3 kB / 1.005 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.02415, allocations: 36.5 kB / 1.005 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of SimCode: time 1.153e-06/0.02415, allocations: 0 / 1.005 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of Templates: time 0.005898/0.03005, allocations: 5.694 MB / 1.01 GB, free: 3.887 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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: 7.3678815411403775]