Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001845/0.001845, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002509/0.002509, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.415/3.415, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_latest_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.002029/0.002029, allocations: 67.95 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3567, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002841/0.3595, allocations: 1.351 MB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002473/0.362, allocations: 1.584 MB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.3622, allocations: 7.875 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.3624, allocations: 39.53 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.3626, allocations: 67.44 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.3639, allocations: 0.5006 MB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008579/0.3647, allocations: 0.6482 MB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.365, allocations: 121.3 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003535/0.3654, allocations: 259.4 kB / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.3657, allocations: 243.2 kB / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.3659, allocations: 64 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.366, allocations: 87.91 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3661, allocations: 79.75 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.3664, allocations: 246.9 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00078/0.3672, allocations: 0.6812 MB / 1.359 GB, free: 2.461 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3672, allocations: 0 / 1.359 GB, free: 2.461 MB / 1.045 GB Notification: Performance of FrontEnd: time 4.238e-06/0.3672, allocations: 7.984 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.3672, allocations: 0 / 1.359 GB, free: 2.453 MB / 1.045 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.001384/0.3686, allocations: 0.875 MB / 1.36 GB, free: 1.488 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3687, allocations: 8.031 kB / 1.36 GB, free: 1.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.246e-05/0.3687, allocations: 58.72 kB / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.3689, allocations: 60.66 kB / 1.36 GB, free: 1.355 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.3701, allocations: 413.4 kB / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.3702, allocations: 24.88 kB / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-05/0.3703, allocations: 40.38 kB / 1.36 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006746/0.3709, allocations: 328.2 kB / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.371, allocations: 4 kB / 1.36 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.371, allocations: 4 kB / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.371, allocations: 8 kB / 1.36 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006649/0.3717, allocations: 261.7 kB / 1.361 GB, free: 272 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.3734, allocations: 0.872 MB / 1.362 GB, free: 15.35 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006852/0.3741, allocations: 350.6 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/0.3746, allocations: 264.6 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.3746, allocations: 4 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006325/0.3752, allocations: 323.8 kB / 1.362 GB, free: 14.4 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 2.765e-06/0.3752, allocations: 3.938 kB / 1.362 GB, free: 14.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.001696/0.3769, allocations: 0.8334 MB / 1.363 GB, free: 13.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.3771, allocations: 191.9 kB / 1.363 GB, free: 13.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.3774, allocations: 288.5 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.427e-05/0.3775, allocations: 45.7 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.3777, allocations: 168.9 kB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.3778, allocations: 130.9 kB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.3781, allocations: 138.1 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3782, allocations: 350.8 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006492/0.3789, allocations: 272.8 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006943/0.3796, allocations: 365.4 kB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.3809, allocations: 0.905 MB / 1.366 GB, free: 10.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3809, allocations: 4 kB / 1.366 GB, free: 10.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001758/0.3827, allocations: 1.006 MB / 1.367 GB, free: 9.422 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.3829, allocations: 268.9 kB / 1.367 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3829, allocations: 0 / 1.367 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.3829, allocations: 4 kB / 1.367 GB, free: 9.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.3832, allocations: 67.83 kB / 1.367 GB, free: 9.035 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3832, allocations: 4 kB / 1.367 GB, free: 9.031 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007129/0.3839, allocations: 147.6 kB / 1.367 GB, free: 8.887 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.384, allocations: 63.92 kB / 1.368 GB, free: 8.824 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.000321/0.3844, allocations: 325.8 kB / 1.368 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.3844, allocations: 47.7 kB / 1.368 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/0.3845, allocations: 43.48 kB / 1.368 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.3845, allocations: 7.984 kB / 1.368 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3845, allocations: 0 / 1.368 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3846, allocations: 0 / 1.368 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.3865, allocations: 1.16 MB / 1.369 GB, free: 7.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3865, allocations: 0 / 1.369 GB, free: 7.117 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.3868, allocations: 63.89 kB / 1.369 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3868, allocations: 0 / 1.369 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.3868, allocations: 23.94 kB / 1.369 GB, free: 7.031 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.3868, allocations: 7.875 kB / 1.369 GB, free: 7.023 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3868, allocations: 4 kB / 1.369 GB, free: 7.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.3881, allocations: 0.7628 MB / 1.37 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.3881, allocations: 51.62 kB / 1.37 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.3882, allocations: 8 kB / 1.37 GB, free: 6.152 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.3884, allocations: 27.91 kB / 1.37 GB, free: 6.125 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.3885, allocations: 43.88 kB / 1.37 GB, free: 6.082 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/0.3886, allocations: 47.94 kB / 1.37 GB, free: 6.035 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002044/0.3888, allocations: 195.1 kB / 1.37 GB, free: 5.848 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3888, allocations: 4 kB / 1.37 GB, free: 5.844 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004348/0.3892, allocations: 104 kB / 1.37 GB, free: 5.742 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.001576/0.3908, allocations: 1.331 MB / 1.372 GB, free: 4.355 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.3926, allocations: 1.035 MB / 1.373 GB, free: 3.211 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3926, allocations: 4.062 kB / 1.373 GB, free: 3.207 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006318/0.3932, allocations: 0.489 MB / 1.373 GB, free: 2.656 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.3938, allocations: 92.45 kB / 1.373 GB, free: 2.562 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007231/0.401, allocations: 4.658 MB / 1.378 GB, free: 13.72 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.4015, allocations: 0.7884 MB / 1.379 GB, free: 12.91 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002643/0.4017, allocations: 91.2 kB / 1.379 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.4019, allocations: 119.4 kB / 1.379 GB, free: 12.7 MB / 1.076 GB Notification: Performance of SimCode: time 1.142e-06/0.4019, allocations: 0 / 1.379 GB, free: 12.7 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04123/0.4431, allocations: 10.2 MB / 1.389 GB, free: 2.711 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.21, allocations: 11.31 kB / 1.389 GB, free: 2.703 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.524806970963255]