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.001251/0.001251, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.001379/0.001379, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.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.952/2.952, allocations: 0.49 GB / 0.7923 GB, free: 1.445 MB / 0.6231 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.002063/0.002063, allocations: 67.91 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9445/0.9465, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002349/0.9489, allocations: 1.352 MB / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.9508, allocations: 1.586 MB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.9509, allocations: 6.469 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.951, allocations: 37.34 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.9512, allocations: 70.84 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.9522, allocations: 0.5015 MB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005204/0.9528, allocations: 0.6525 MB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.953, allocations: 126.6 kB / 1.326 GB, free: 22.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.9533, allocations: 252.3 kB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.9535, allocations: 250.9 kB / 1.327 GB, free: 22.01 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.9536, allocations: 66.22 kB / 1.327 GB, free: 22.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.9538, allocations: 79.36 kB / 1.327 GB, free: 22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.9539, allocations: 85.5 kB / 1.327 GB, free: 21.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.9541, allocations: 248 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006679/0.9548, allocations: 0.6819 MB / 1.328 GB, free: 21.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.9548, allocations: 0 / 1.328 GB, free: 21.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9548, allocations: 0 / 1.328 GB, free: 21.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.9548, allocations: 0.5 kB / 1.328 GB, free: 21.55 MB / 1.061 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.001258/0.9561, allocations: 0.9461 MB / 1.329 GB, free: 20.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.9561, allocations: 13.48 kB / 1.329 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.9562, allocations: 50.41 kB / 1.329 GB, free: 20.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.9576, allocations: 478.1 kB / 1.329 GB, free: 20.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.9577, allocations: 28.05 kB / 1.329 GB, free: 20.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.9578, allocations: 41.14 kB / 1.329 GB, free: 20.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007784/0.9586, allocations: 319.3 kB / 1.33 GB, free: 20.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.9586, allocations: 4.625 kB / 1.33 GB, free: 20.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.9586, allocations: 11.97 kB / 1.33 GB, free: 20.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.9586, allocations: 5.406 kB / 1.33 GB, free: 20.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007565/0.9594, allocations: 253.2 kB / 1.33 GB, free: 20.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.9612, allocations: 0.9223 MB / 1.331 GB, free: 19.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007175/0.9619, allocations: 353.8 kB / 1.331 GB, free: 19.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.9625, allocations: 261.2 kB / 1.331 GB, free: 19.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.9625, allocations: 4.312 kB / 1.331 GB, free: 19.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006208/0.9631, allocations: 314.1 kB / 1.332 GB, free: 19.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 3.126e-06/0.9631, allocations: 5.094 kB / 1.332 GB, free: 19.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.001729/0.9648, allocations: 0.843 MB / 1.332 GB, free: 19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.9649, allocations: 193.1 kB / 1.333 GB, free: 18.78 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.9652, allocations: 291.7 kB / 1.333 GB, free: 18.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.856e-05/0.9653, allocations: 48.25 kB / 1.333 GB, free: 18.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.9654, allocations: 165.1 kB / 1.333 GB, free: 18.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.936e-05/0.9655, allocations: 137.1 kB / 1.333 GB, free: 18.33 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.9658, allocations: 132.3 kB / 1.333 GB, free: 18.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.9658, allocations: 347 kB / 1.334 GB, free: 17.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006832/0.9665, allocations: 273.9 kB / 1.334 GB, free: 17.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008212/0.9674, allocations: 365.5 kB / 1.334 GB, free: 17.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.9687, allocations: 0.9073 MB / 1.335 GB, free: 17.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.9687, allocations: 5.312 kB / 1.335 GB, free: 17.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001724/0.9704, allocations: 1.004 MB / 1.336 GB, free: 16.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.9705, allocations: 261.8 kB / 1.336 GB, free: 16.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.9705, allocations: 2.125 kB / 1.336 GB, free: 16.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.9706, allocations: 3.688 kB / 1.336 GB, free: 16.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.9709, allocations: 65 kB / 1.337 GB, free: 16.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.9709, allocations: 13.23 kB / 1.337 GB, free: 16.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008057/0.9717, allocations: 141.6 kB / 1.337 GB, free: 16.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.9718, allocations: 70.27 kB / 1.337 GB, free: 16.14 MB / 1.061 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.0002413/0.9721, allocations: 318.2 kB / 1.337 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.9721, allocations: 38.89 kB / 1.337 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.774e-05/0.9722, allocations: 37.88 kB / 1.337 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.9722, allocations: 6.047 kB / 1.337 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.9722, allocations: 4 kB / 1.337 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.9722, allocations: 2.25 kB / 1.337 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.9739, allocations: 1.198 MB / 1.338 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.9739, allocations: 0 / 1.338 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.9742, allocations: 62.02 kB / 1.338 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.9742, allocations: 3.031 kB / 1.338 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.9742, allocations: 11.23 kB / 1.338 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.9742, allocations: 2.562 kB / 1.338 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9742, allocations: 3.938 kB / 1.338 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.9754, allocations: 0.7651 MB / 1.339 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.9755, allocations: 120 kB / 1.339 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.9755, allocations: 9.859 kB / 1.339 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.9758, allocations: 26 kB / 1.339 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.9759, allocations: 47.12 kB / 1.339 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.192e-05/0.9759, allocations: 51.72 kB / 1.339 GB, free: 14.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001946/0.9761, allocations: 197.1 kB / 1.34 GB, free: 14.35 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9761, allocations: 3.938 kB / 1.34 GB, free: 14.35 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005036/0.9766, allocations: 108.1 kB / 1.34 GB, free: 14.33 MB / 1.061 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.000175/0.9768, allocations: 131.3 kB / 1.34 GB, free: 14.22 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.9783, allocations: 1.045 MB / 1.341 GB, free: 13.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9783, allocations: 0 / 1.341 GB, free: 13.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005542/0.9788, allocations: 0.4913 MB / 1.341 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.9794, allocations: 86.41 kB / 1.341 GB, free: 13.1 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.9807, allocations: 0.834 MB / 1.342 GB, free: 12.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.981, allocations: 0.8046 MB / 1.343 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-05/0.9811, allocations: 32.73 kB / 1.343 GB, free: 11.96 MB / 1.061 GB Notification: Performance of SimCode: time 1.362e-06/0.9811, allocations: 1.031 kB / 1.343 GB, free: 11.96 MB / 1.061 GB Notification: Performance of Templates: time 0.0126/0.9937, allocations: 5.632 MB / 1.349 GB, free: 11.37 MB / 1.061 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 -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: 12.086264490004396]