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.0009097/0.0009097, allocations: 72.55 kB / 19.93 MB, free: 4.621 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.001055/0.001055, allocations: 177.9 kB / 23.22 MB, free: 1.336 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.9348/0.9348, allocations: 177.2 MB / 203.5 MB, free: 5.727 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.682/1.682, allocations: 359 MB / 0.6044 GB, free: 11.08 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.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_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.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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.436e-05, allocations: 13.59 kB / 0.9517 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002525/0.00256, allocations: 1.247 MB / 0.953 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.004748, allocations: 1.575 MB / 0.9545 GB, free: 132 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.004898, allocations: 4 kB / 0.9545 GB, free: 128 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.005047, allocations: 31.55 kB / 0.9545 GB, free: 96 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.005207, allocations: 79.36 kB / 0.9546 GB, free: 16 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.006363, allocations: 0.5034 MB / 0.9551 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006899/0.007053, allocations: 0.6559 MB / 0.9557 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.007357, allocations: 113.2 kB / 0.9558 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002712/0.01007, allocations: 363.4 kB / 0.9562 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.01041, allocations: 191.5 kB / 0.9564 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 9.373e-05/0.0105, allocations: 64 kB / 0.9564 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.01062, allocations: 79.98 kB / 0.9565 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.306e-05/0.01071, allocations: 91.61 kB / 0.9566 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.01086, allocations: 187.6 kB / 0.9568 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006051/0.01146, allocations: 0.7596 MB / 0.9575 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.01147, allocations: 0 / 0.9575 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.214e-06/0.01147, allocations: 0 / 0.9575 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.445e-06/0.01148, allocations: 3.938 kB / 0.9575 GB, free: 13.03 MB / 0.9167 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.0008831/0.01236, allocations: 0.8749 MB / 0.9584 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.0124, allocations: 8.031 kB / 0.9584 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.368e-05/0.0125, allocations: 60.59 kB / 0.9584 GB, free: 12 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/0.01321, allocations: 404.8 kB / 0.9588 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.01324, allocations: 24.88 kB / 0.9589 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.01329, allocations: 48.38 kB / 0.9589 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.01372, allocations: 453 kB / 0.9593 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.01373, allocations: 192 / 0.9593 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.01375, allocations: 12.38 kB / 0.9593 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.01376, allocations: 12.12 kB / 0.9594 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.01415, allocations: 390.2 kB / 0.9597 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009814/0.01513, allocations: 0.7323 MB / 0.9604 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.01557, allocations: 483.6 kB / 0.9609 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.01587, allocations: 393.1 kB / 0.9613 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.01588, allocations: 4 kB / 0.9613 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003608/0.01625, allocations: 455.5 kB / 0.9617 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=44): time 1.643e-06/0.01625, allocations: 0 / 0.9617 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of matching and sorting (n=44): time 0.0009594/0.01721, allocations: 1.104 MB / 0.9628 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.01728, allocations: 195.9 kB / 0.963 GB, free: 6.969 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.01746, allocations: 280.5 kB / 0.9632 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.0175, allocations: 41.7 kB / 0.9633 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.01761, allocations: 168.9 kB / 0.9634 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.01768, allocations: 142.8 kB / 0.9636 GB, free: 6.332 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.01781, allocations: 130.1 kB / 0.9637 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.0179, allocations: 350.8 kB / 0.964 GB, free: 5.844 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.01833, allocations: 0.5313 MB / 0.9646 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.01878, allocations: 0.6065 MB / 0.9652 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/0.01945, allocations: 0.906 MB / 0.966 GB, free: 3.539 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01945, allocations: 0 / 0.966 GB, free: 3.539 MB / 0.9167 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001014/0.02047, allocations: 1.268 MB / 0.9673 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.02057, allocations: 267.5 kB / 0.9675 GB, free: 1.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.02058, allocations: 7.938 kB / 0.9675 GB, free: 1.832 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.02059, allocations: 4 kB / 0.9675 GB, free: 1.828 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.02074, allocations: 67.89 kB / 0.9676 GB, free: 1.762 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.02075, allocations: 4 kB / 0.9676 GB, free: 1.758 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.02108, allocations: 143.6 kB / 0.9678 GB, free: 1.617 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.02115, allocations: 63.92 kB / 0.9678 GB, free: 1.555 MB / 0.9167 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.0001908/0.02134, allocations: 316.1 kB / 0.9681 GB, free: 1.207 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.02137, allocations: 39.77 kB / 0.9682 GB, free: 1.168 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.02143, allocations: 47.36 kB / 0.9682 GB, free: 1.113 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.02143, allocations: 7.938 kB / 0.9682 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.02144, allocations: 0 / 0.9682 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.02144, allocations: 3.984 kB / 0.9682 GB, free: 1.102 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.02247, allocations: 1.222 MB / 0.9694 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02247, allocations: 0 / 0.9694 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.02259, allocations: 59.89 kB / 0.9695 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.02259, allocations: 4 kB / 0.9695 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.02261, allocations: 12 kB / 0.9695 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.02261, allocations: 4 kB / 0.9695 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.02262, allocations: 4 kB / 0.9695 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006557/0.02327, allocations: 0.9091 MB / 0.9704 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.0233, allocations: 31.7 kB / 0.9704 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.02332, allocations: 12 kB / 0.9704 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.02343, allocations: 23.97 kB / 0.9704 GB, free: 14.65 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.02349, allocations: 35.94 kB / 0.9705 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.02354, allocations: 47.94 kB / 0.9705 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001221/0.02366, allocations: 195.1 kB / 0.9707 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.02366, allocations: 4 kB / 0.9707 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002693/0.02393, allocations: 103.9 kB / 0.9708 GB, free: 14.27 MB / 0.9323 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.0001398/0.02407, allocations: 121.2 kB / 0.9709 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.02507, allocations: 1.444 MB / 0.9723 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.02507, allocations: 3.906 kB / 0.9723 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.02544, allocations: 0.6223 MB / 0.9729 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.02576, allocations: 97.14 kB / 0.973 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008707/0.02663, allocations: 0.9672 MB / 0.974 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.02675, allocations: 192.3 kB / 0.9742 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.0268, allocations: 40.48 kB / 0.9742 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of SimCode: time 3.7e-07/0.0268, allocations: 0 / 0.9742 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of Templates: time 0.005461/0.03226, allocations: 5.702 MB / 0.9798 GB, free: 4.754 MB / 0.9323 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.682109015062451]