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.001782/0.001782, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00264/0.00264, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.805 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.361/3.361, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [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.002117/0.002117, allocations: 67.17 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3484, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003369/0.3517, allocations: 1.253 MB / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002645/0.3544, allocations: 1.568 MB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002735/0.3546, allocations: 4 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.3549, allocations: 35.48 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.3552, allocations: 79.36 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.3568, allocations: 0.4961 MB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009701/0.3578, allocations: 0.6482 MB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.3581, allocations: 113.3 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.3586, allocations: 255.4 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.359, allocations: 219.1 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.3592, allocations: 64 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.3594, allocations: 79.98 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.3595, allocations: 83.69 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.3598, allocations: 215.1 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008316/0.3606, allocations: 0.689 MB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3606, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3606, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.176e-05/0.3606, allocations: 4 kB / 1.331 GB, free: 12.58 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.001722/0.3624, allocations: 0.875 MB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3624, allocations: 8.031 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.3625, allocations: 58.73 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.3627, allocations: 60.62 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.364, allocations: 401.5 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.3641, allocations: 24.88 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.3642, allocations: 48.36 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008864/0.3651, allocations: 456.8 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3651, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.3652, allocations: 12 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.3652, allocations: 8 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008389/0.366, allocations: 390.2 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.3679, allocations: 0.7823 MB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/0.3686, allocations: 488.1 kB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/0.3692, allocations: 393.2 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3693, allocations: 4 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007202/0.37, allocations: 456.2 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 3.015e-06/0.37, allocations: 3.938 kB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.001859/0.3718, allocations: 1.1 MB / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.372, allocations: 191.9 kB / 1.336 GB, free: 6.398 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.3723, allocations: 292.5 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.314e-05/0.3724, allocations: 45.7 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.3726, allocations: 168.9 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.3727, allocations: 138.9 kB / 1.337 GB, free: 5.746 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.373, allocations: 130.1 kB / 1.337 GB, free: 5.613 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3732, allocations: 350.8 kB / 1.337 GB, free: 5.262 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000836/0.374, allocations: 0.5274 MB / 1.338 GB, free: 4.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008778/0.3749, allocations: 0.6101 MB / 1.338 GB, free: 3.973 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.3762, allocations: 0.9167 MB / 1.339 GB, free: 2.941 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3762, allocations: 4 kB / 1.339 GB, free: 2.938 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001988/0.3782, allocations: 1.259 MB / 1.341 GB, free: 1.562 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.3784, allocations: 263.3 kB / 1.341 GB, free: 1.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.3784, allocations: 8 kB / 1.341 GB, free: 1.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.3784, allocations: 4 kB / 1.341 GB, free: 1.238 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.3787, allocations: 67.83 kB / 1.341 GB, free: 1.172 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.3787, allocations: 7.984 kB / 1.341 GB, free: 1.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007572/0.3795, allocations: 147.6 kB / 1.341 GB, free: 1.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.3796, allocations: 67.92 kB / 1.341 GB, free: 0.9531 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.0003391/0.38, allocations: 330.5 kB / 1.341 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.38, allocations: 43.77 kB / 1.341 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.264e-05/0.3801, allocations: 39.48 kB / 1.342 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3801, allocations: 4 kB / 1.342 GB, free: 0.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3801, allocations: 0 / 1.342 GB, free: 0.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3801, allocations: 3.938 kB / 1.342 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.3823, allocations: 1.27 MB / 1.343 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3823, allocations: 0 / 1.343 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.3825, allocations: 67.89 kB / 1.343 GB, free: 15.05 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3825, allocations: 0 / 1.343 GB, free: 15.05 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.3826, allocations: 12 kB / 1.343 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.3826, allocations: 3.938 kB / 1.343 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3826, allocations: 4 kB / 1.343 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.3839, allocations: 0.8996 MB / 1.344 GB, free: 14.05 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.384, allocations: 43.64 kB / 1.344 GB, free: 14.01 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.384, allocations: 12 kB / 1.344 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.3843, allocations: 27.91 kB / 1.344 GB, free: 13.97 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3844, allocations: 39.94 kB / 1.344 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.838e-05/0.3844, allocations: 47.94 kB / 1.344 GB, free: 13.88 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002163/0.3847, allocations: 195.1 kB / 1.344 GB, free: 13.69 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3847, allocations: 0 / 1.344 GB, free: 13.69 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004698/0.3851, allocations: 111.9 kB / 1.344 GB, free: 13.58 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.001786/0.3869, allocations: 1.463 MB / 1.346 GB, free: 12.03 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001964/0.3889, allocations: 1.437 MB / 1.347 GB, free: 10.4 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3889, allocations: 0 / 1.347 GB, free: 10.4 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000739/0.3896, allocations: 0.6223 MB / 1.348 GB, free: 9.684 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005837/0.3902, allocations: 91.09 kB / 1.348 GB, free: 9.598 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008841/0.399, allocations: 5.834 MB / 1.353 GB, free: 3.32 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.3993, allocations: 189 kB / 1.354 GB, free: 3.113 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002917/0.3996, allocations: 91.14 kB / 1.354 GB, free: 3.023 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.3998, allocations: 119.4 kB / 1.354 GB, free: 2.906 MB / 1.045 GB Notification: Performance of SimCode: time 9.92e-07/0.3998, allocations: 0 / 1.354 GB, free: 2.906 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0435/0.4433, allocations: 11.1 MB / 1.365 GB, free: 8.086 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.29, allocations: 4.547 kB / 1.365 GB, free: 8.086 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 420.0] 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: 19.260728006251156]