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.001747/0.001747, allocations: 84.91 kB / 19.76 MB, free: 2.023 MB / 14.72 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.002448/0.002448, allocations: 156.9 kB / 23.01 MB, free: 4.961 MB / 14.72 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.484/1.484, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.754/2.754, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 67.88 kB / 0.982 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9898/0.9919, allocations: 176.1 MB / 1.154 GB, free: 33.28 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002249/0.9942, allocations: 1.248 MB / 1.155 GB, free: 32.48 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.9958, allocations: 1.571 MB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.9959, allocations: 6.625 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.9961, allocations: 29.52 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.9962, allocations: 83.89 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.9972, allocations: 0.4948 MB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004941/0.9977, allocations: 0.6469 MB / 1.158 GB, free: 30.68 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.9979, allocations: 109.4 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.9982, allocations: 255.6 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.9984, allocations: 213.7 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.582e-05/0.9985, allocations: 65.47 kB / 1.159 GB, free: 30.41 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.9986, allocations: 81.59 kB / 1.159 GB, free: 30.41 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.839e-05/0.9987, allocations: 88.38 kB / 1.159 GB, free: 30.35 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.9989, allocations: 209.4 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005252/0.9994, allocations: 0.6958 MB / 1.16 GB, free: 29.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.9994, allocations: 0 / 1.16 GB, free: 29.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9994, allocations: 0 / 1.16 GB, free: 29.98 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.9994, allocations: 0 / 1.16 GB, free: 29.98 MB / 1.076 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.001038/1, allocations: 0.8669 MB / 1.16 GB, free: 29.24 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/1, allocations: 8.688 kB / 1.16 GB, free: 29.24 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/1.001, allocations: 57.73 kB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/1.002, allocations: 401.8 kB / 1.161 GB, free: 28.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/1.002, allocations: 31.47 kB / 1.161 GB, free: 28.97 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/1.002, allocations: 40.16 kB / 1.161 GB, free: 28.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/1.002, allocations: 459.9 kB / 1.161 GB, free: 28.69 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/1.002, allocations: 3.938 kB / 1.161 GB, free: 28.69 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/1.002, allocations: 14.47 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/1.002, allocations: 5.719 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000623/1.003, allocations: 386 kB / 1.162 GB, free: 28.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/1.004, allocations: 0.7341 MB / 1.162 GB, free: 28.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005747/1.005, allocations: 486.5 kB / 1.163 GB, free: 27.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004441/1.005, allocations: 396.2 kB / 1.163 GB, free: 27.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/1.005, allocations: 6.906 kB / 1.163 GB, free: 27.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005291/1.006, allocations: 468.9 kB / 1.164 GB, free: 27.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=44): time 2.225e-06/1.006, allocations: 0 / 1.164 GB, free: 27.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=44): time 0.001437/1.007, allocations: 1.101 MB / 1.165 GB, free: 26.58 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.007, allocations: 193.8 kB / 1.165 GB, free: 26.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/1.008, allocations: 276.9 kB / 1.165 GB, free: 26.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/1.008, allocations: 43.27 kB / 1.165 GB, free: 26.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.897e-05/1.008, allocations: 171.1 kB / 1.165 GB, free: 26.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.073e-05/1.008, allocations: 139.5 kB / 1.166 GB, free: 25.91 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/1.008, allocations: 141.8 kB / 1.166 GB, free: 25.85 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/1.008, allocations: 348.8 kB / 1.166 GB, free: 25.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005796/1.009, allocations: 0.5231 MB / 1.167 GB, free: 25.15 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006163/1.009, allocations: 0.6077 MB / 1.167 GB, free: 24.69 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009666/1.01, allocations: 0.9179 MB / 1.168 GB, free: 24 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.01, allocations: 0 / 1.168 GB, free: 24 MB / 1.076 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00148/1.012, allocations: 1.275 MB / 1.169 GB, free: 23.15 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.801e-05/1.012, allocations: 259.6 kB / 1.17 GB, free: 22.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.012, allocations: 2.125 kB / 1.17 GB, free: 22.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/1.012, allocations: 2.719 kB / 1.17 GB, free: 22.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/1.012, allocations: 66.3 kB / 1.17 GB, free: 22.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/1.012, allocations: 5.625 kB / 1.17 GB, free: 22.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007188/1.013, allocations: 144.3 kB / 1.17 GB, free: 22.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/1.013, allocations: 68.44 kB / 1.17 GB, free: 22.82 MB / 1.076 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.0002129/1.013, allocations: 314.2 kB / 1.17 GB, free: 22.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/1.013, allocations: 43.23 kB / 1.17 GB, free: 22.49 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.812e-05/1.013, allocations: 36.09 kB / 1.17 GB, free: 22.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/1.013, allocations: 5.25 kB / 1.17 GB, free: 22.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.013, allocations: 0 / 1.17 GB, free: 22.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.013, allocations: 7.078 kB / 1.17 GB, free: 22.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/1.015, allocations: 1.216 MB / 1.171 GB, free: 21.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.015, allocations: 0 / 1.171 GB, free: 21.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/1.015, allocations: 69.27 kB / 1.171 GB, free: 21.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/1.015, allocations: 2.625 kB / 1.172 GB, free: 21.67 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/1.015, allocations: 12.62 kB / 1.172 GB, free: 21.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/1.015, allocations: 6.625 kB / 1.172 GB, free: 21.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.015, allocations: 0 / 1.172 GB, free: 21.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/1.016, allocations: 0.8964 MB / 1.172 GB, free: 21.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/1.016, allocations: 38.08 kB / 1.172 GB, free: 21.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/1.016, allocations: 15.58 kB / 1.172 GB, free: 21.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/1.016, allocations: 28.11 kB / 1.172 GB, free: 21.02 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/1.016, allocations: 41.47 kB / 1.173 GB, free: 21.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.741e-05/1.017, allocations: 48.8 kB / 1.173 GB, free: 21.01 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002062/1.017, allocations: 195.3 kB / 1.173 GB, free: 20.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.017, allocations: 0 / 1.173 GB, free: 20.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005342/1.017, allocations: 110.7 kB / 1.173 GB, free: 20.87 MB / 1.076 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.0001785/1.017, allocations: 123 kB / 1.173 GB, free: 20.77 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00164/1.019, allocations: 1.438 MB / 1.174 GB, free: 19.59 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.019, allocations: 0 / 1.174 GB, free: 19.59 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005669/1.02, allocations: 0.6253 MB / 1.175 GB, free: 19.06 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/1.02, allocations: 84.41 kB / 1.175 GB, free: 19.03 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/1.021, allocations: 0.9297 MB / 1.176 GB, free: 18.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/1.022, allocations: 193.3 kB / 1.176 GB, free: 18.39 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002053/1.022, allocations: 93.25 kB / 1.176 GB, free: 18.38 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/1.022, allocations: 31.38 kB / 1.176 GB, free: 18.37 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/1.022, allocations: 1.094 kB / 1.176 GB, free: 18.37 MB / 1.076 GB Notification: Performance of Templates: time 0.01433/1.036, allocations: 7.056 MB / 1.183 GB, free: 17.55 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.262951475917362]