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.001825/0.001825, allocations: 79.97 kB / 19.76 MB, free: 1.875 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.002155/0.002155, allocations: 162.2 kB / 23.01 MB, free: 4.602 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.487/1.487, allocations: 177.2 MB / 203.4 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.7/2.7, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.00221/0.00221, allocations: 60.09 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3324, allocations: 169.9 MB / 1.117 GB, free: 2.523 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002828/0.3352, allocations: 1.234 MB / 1.119 GB, free: 1.285 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002472/0.3377, allocations: 1.572 MB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.3378, allocations: 4 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.338, allocations: 31.55 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.3382, allocations: 83.36 kB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.3395, allocations: 0.4939 MB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008613/0.3404, allocations: 0.6482 MB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.3407, allocations: 109.3 kB / 1.122 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.341, allocations: 255.4 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.3414, allocations: 223.1 kB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.3415, allocations: 68 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.3417, allocations: 75.98 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.3419, allocations: 75.77 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002883/0.3422, allocations: 219.1 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008282/0.343, allocations: 0.6851 MB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.343, allocations: 3.938 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.165e-06/0.343, allocations: 0 / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.343, allocations: 0 / 1.123 GB, free: 12.75 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.001603/0.3446, allocations: 0.8827 MB / 1.124 GB, free: 11.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3447, allocations: 12.03 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.3448, allocations: 48.7 kB / 1.124 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.3462, allocations: 409.5 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/0.3463, allocations: 28.88 kB / 1.124 GB, free: 11.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.645e-05/0.3464, allocations: 36.38 kB / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008445/0.3472, allocations: 461 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3472, allocations: 3.938 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.3473, allocations: 8 kB / 1.125 GB, free: 10.74 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.3473, allocations: 8 kB / 1.125 GB, free: 10.73 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008028/0.3481, allocations: 394.2 kB / 1.125 GB, free: 10.31 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.3497, allocations: 0.7322 MB / 1.126 GB, free: 9.547 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008366/0.3506, allocations: 487.5 kB / 1.126 GB, free: 9.031 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.3512, allocations: 398.6 kB / 1.127 GB, free: 8.609 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.3512, allocations: 7.938 kB / 1.127 GB, free: 8.602 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007182/0.3519, allocations: 451.5 kB / 1.127 GB, free: 8.117 MB / 1.076 GB Notification: Performance of pre-optimization done (n=44): time 2.655e-06/0.3519, allocations: 4 kB / 1.127 GB, free: 8.113 MB / 1.076 GB Notification: Performance of matching and sorting (n=44): time 0.001901/0.3538, allocations: 1.104 MB / 1.128 GB, free: 6.91 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.354, allocations: 187.9 kB / 1.129 GB, free: 6.684 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.3543, allocations: 284.5 kB / 1.129 GB, free: 6.402 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.674e-05/0.3544, allocations: 41.7 kB / 1.129 GB, free: 6.355 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.3546, allocations: 168.9 kB / 1.129 GB, free: 6.184 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.3548, allocations: 134.9 kB / 1.129 GB, free: 6.051 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.3551, allocations: 134.1 kB / 1.129 GB, free: 5.914 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3552, allocations: 346.8 kB / 1.13 GB, free: 5.566 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008138/0.3561, allocations: 0.5313 MB / 1.13 GB, free: 4.977 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008745/0.3569, allocations: 0.6142 MB / 1.131 GB, free: 4.277 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.3583, allocations: 0.9176 MB / 1.132 GB, free: 3.242 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.3583, allocations: 4 kB / 1.132 GB, free: 3.238 MB / 1.076 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001995/0.3603, allocations: 1.264 MB / 1.133 GB, free: 1.859 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001924/0.3605, allocations: 259.3 kB / 1.133 GB, free: 1.551 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3605, allocations: 0 / 1.133 GB, free: 1.551 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.3605, allocations: 8 kB / 1.133 GB, free: 1.543 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.3608, allocations: 71.83 kB / 1.133 GB, free: 1.473 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3608, allocations: 4 kB / 1.133 GB, free: 1.469 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/0.3616, allocations: 143.8 kB / 1.133 GB, free: 1.328 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.3617, allocations: 67.92 kB / 1.133 GB, free: 1.262 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.000332/0.3621, allocations: 315.7 kB / 1.134 GB, free: 0.9141 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.3622, allocations: 51.62 kB / 1.134 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.944e-05/0.3622, allocations: 39.44 kB / 1.134 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3623, allocations: 4 kB / 1.134 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3623, allocations: 3.984 kB / 1.134 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.3623, allocations: 3.984 kB / 1.134 GB, free: 0.8164 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6314/0.9936, allocations: 1.207 MB / 1.135 GB, free: 58.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.9936, allocations: 0 / 1.135 GB, free: 58.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.9939, allocations: 67.81 kB / 1.135 GB, free: 58.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.9939, allocations: 3.188 kB / 1.135 GB, free: 58.87 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.9939, allocations: 13.52 kB / 1.135 GB, free: 58.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.9939, allocations: 4.5 kB / 1.135 GB, free: 58.87 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9939, allocations: 0.6562 kB / 1.135 GB, free: 58.87 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009991/0.9949, allocations: 0.8999 MB / 1.136 GB, free: 58.42 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.995, allocations: 41.16 kB / 1.136 GB, free: 58.42 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.995, allocations: 15.08 kB / 1.136 GB, free: 58.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.9952, allocations: 22.59 kB / 1.136 GB, free: 58.42 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.9953, allocations: 41.23 kB / 1.136 GB, free: 58.42 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/0.9954, allocations: 51.22 kB / 1.136 GB, free: 58.42 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001538/0.9955, allocations: 190.5 kB / 1.136 GB, free: 58.34 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9955, allocations: 0.6875 kB / 1.136 GB, free: 58.34 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000498/0.996, allocations: 114.5 kB / 1.136 GB, free: 58.34 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.0001409/0.9962, allocations: 112.4 kB / 1.136 GB, free: 58.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.9975, allocations: 1.437 MB / 1.138 GB, free: 57.25 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9975, allocations: 0.9375 kB / 1.138 GB, free: 57.25 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004833/0.998, allocations: 0.6207 MB / 1.139 GB, free: 56.78 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.9985, allocations: 88.58 kB / 1.139 GB, free: 56.78 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.9995, allocations: 0.9418 MB / 1.14 GB, free: 56.31 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.9997, allocations: 189.8 kB / 1.14 GB, free: 56.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001849/0.9999, allocations: 92.8 kB / 1.14 GB, free: 56.23 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.9999, allocations: 31.91 kB / 1.14 GB, free: 56.22 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.9999, allocations: 2.594 kB / 1.14 GB, free: 56.22 MB / 1.076 GB Notification: Performance of Templates: time 0.01019/1.01, allocations: 7.052 MB / 1.147 GB, free: 55.54 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.197024581953883]