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.001582/0.001582, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001749/0.001749, allocations: 219.4 kB / 23.01 MB, free: 4.566 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: 230.6 MB / 256.8 MB, free: 8.027 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 3.227/3.227, allocations: 0.49 GB / 0.7958 GB, free: 33.23 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.002088/0.002088, allocations: 67.5 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3472, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002717/0.3499, allocations: 1.342 MB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002237/0.3521, allocations: 1.603 MB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.3522, allocations: 3.938 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.3524, allocations: 31.61 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.3525, allocations: 79.38 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.3538, allocations: 0.496 MB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007341/0.3545, allocations: 0.6521 MB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.3548, allocations: 121.3 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.3551, allocations: 251.4 kB / 1.332 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003326/0.3554, allocations: 247.2 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.3555, allocations: 68 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3556, allocations: 79.98 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.77e-05/0.3557, allocations: 83.64 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.356, allocations: 247 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000742/0.3568, allocations: 0.689 MB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3568, allocations: 0 / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3568, allocations: 0 / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.3568, allocations: 0 / 1.333 GB, free: 11.46 MB / 1.029 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.001328/0.3581, allocations: 0.8828 MB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3581, allocations: 8.031 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.3583, allocations: 48.7 kB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.3595, allocations: 401.5 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.3596, allocations: 32.86 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.378e-05/0.3596, allocations: 36.38 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.3603, allocations: 324.5 kB / 1.335 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3603, allocations: 3.938 kB / 1.335 GB, free: 9.629 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.3604, allocations: 8 kB / 1.335 GB, free: 9.621 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.3604, allocations: 8 kB / 1.335 GB, free: 9.613 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/0.361, allocations: 253.8 kB / 1.335 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.3627, allocations: 0.872 MB / 1.336 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/0.3634, allocations: 359.1 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/0.3639, allocations: 264.6 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.3639, allocations: 7.938 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005985/0.3645, allocations: 319.8 kB / 1.337 GB, free: 7.492 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.475e-06/0.3645, allocations: 0 / 1.337 GB, free: 7.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.001645/0.3662, allocations: 0.8373 MB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.3663, allocations: 195.9 kB / 1.338 GB, free: 6.383 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.3666, allocations: 288.5 kB / 1.338 GB, free: 6.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.08e-05/0.3667, allocations: 45.7 kB / 1.338 GB, free: 6.039 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.3669, allocations: 164.9 kB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.367, allocations: 142.9 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.3672, allocations: 130.1 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3674, allocations: 346.8 kB / 1.339 GB, free: 5.254 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006074/0.368, allocations: 280.7 kB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006577/0.3686, allocations: 357.5 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.3699, allocations: 0.909 MB / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3699, allocations: 7.938 kB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001667/0.3716, allocations: 0.9977 MB / 1.341 GB, free: 2.508 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000183/0.3717, allocations: 263.3 kB / 1.341 GB, free: 2.195 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3718, allocations: 4 kB / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3718, allocations: 4 kB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.372, allocations: 68.17 kB / 1.342 GB, free: 2.121 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.3721, allocations: 8 kB / 1.342 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/0.3728, allocations: 143.6 kB / 1.342 GB, free: 1.973 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.3729, allocations: 71.86 kB / 1.342 GB, free: 1.902 MB / 1.029 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.0003254/0.3732, allocations: 326.5 kB / 1.342 GB, free: 1.543 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.3733, allocations: 35.77 kB / 1.342 GB, free: 1.508 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.747e-05/0.3734, allocations: 39.48 kB / 1.342 GB, free: 1.465 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3734, allocations: 4 kB / 1.342 GB, free: 1.461 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3734, allocations: 4 kB / 1.342 GB, free: 1.457 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3734, allocations: 7.984 kB / 1.342 GB, free: 1.449 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.3752, allocations: 1.167 MB / 1.343 GB, free: 208 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.3752, allocations: 3.984 kB / 1.343 GB, free: 204 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.3755, allocations: 67.89 kB / 1.343 GB, free: 136 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3755, allocations: 0 / 1.343 GB, free: 136 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.3755, allocations: 8 kB / 1.343 GB, free: 128 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3755, allocations: 4 kB / 1.343 GB, free: 124 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3755, allocations: 3.938 kB / 1.343 GB, free: 120 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.3767, allocations: 0.7664 MB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.3767, allocations: 35.64 kB / 1.344 GB, free: 15.27 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.3768, allocations: 15.98 kB / 1.344 GB, free: 15.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.377, allocations: 27.97 kB / 1.344 GB, free: 15.22 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/0.3771, allocations: 43.88 kB / 1.344 GB, free: 15.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.839e-05/0.3772, allocations: 47.94 kB / 1.344 GB, free: 15.13 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002017/0.3774, allocations: 195.1 kB / 1.344 GB, free: 14.94 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3774, allocations: 3.938 kB / 1.344 GB, free: 14.94 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004288/0.3778, allocations: 108 kB / 1.345 GB, free: 14.83 MB / 1.045 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.0001854/0.378, allocations: 127.8 kB / 1.345 GB, free: 14.7 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.3795, allocations: 1.035 MB / 1.346 GB, free: 13.55 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3795, allocations: 0 / 1.346 GB, free: 13.55 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006474/0.3802, allocations: 0.5051 MB / 1.346 GB, free: 12.99 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.3807, allocations: 90.41 kB / 1.346 GB, free: 12.9 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.3821, allocations: 0.8264 MB / 1.347 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.3825, allocations: 0.7962 MB / 1.348 GB, free: 11.22 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.607e-05/0.3826, allocations: 35.44 kB / 1.348 GB, free: 11.19 MB / 1.045 GB Notification: Performance of SimCode: time 1.092e-06/0.3826, allocations: 0 / 1.348 GB, free: 11.19 MB / 1.045 GB Notification: Performance of Templates: time 0.009306/0.3919, allocations: 5.645 MB / 1.353 GB, free: 5.578 MB / 1.045 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/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: 11.862350648007123]