Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001396/0.001396, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.00165/0.00165, allocations: 222.5 kB / 22.25 MB, free: 5.109 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.809 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.367/3.367, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 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.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.002123/0.002123, allocations: 63.25 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3649, allocations: 181.9 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002446/0.3673, allocations: 0.9622 MB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002241/0.3696, allocations: 1.351 MB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.3697, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.3698, allocations: 23.73 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.37, allocations: 47.64 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.3713, allocations: 277.1 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006381/0.3719, allocations: 379.3 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003267/0.3723, allocations: 49.72 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.3725, allocations: 159.6 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.3727, allocations: 115.5 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/0.3728, allocations: 36 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.3729, allocations: 51.92 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.373, allocations: 63.83 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.3732, allocations: 115.5 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005331/0.3737, allocations: 410.5 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3737, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3737, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.3737, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001146/0.3749, allocations: 0.5433 MB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.3749, allocations: 16.03 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.583e-05/0.375, allocations: 46.73 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003722/0.3754, allocations: 68.7 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009756/0.3764, allocations: 301.1 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.3764, allocations: 12.38 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.3764, allocations: 28.36 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.377, allocations: 218.6 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.377, allocations: 0 / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.377, allocations: 7.938 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.377, allocations: 4 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005419/0.3776, allocations: 143.8 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.379, allocations: 0.8165 MB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.3794, allocations: 149 kB / 1.37 GB, free: 7.602 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.3796, allocations: 80.3 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.3796, allocations: 7.938 kB / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005757/0.3802, allocations: 171.5 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.913e-06/0.3802, allocations: 0 / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0009656/0.3812, allocations: 257.6 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.3813, allocations: 162.2 kB / 1.37 GB, free: 6.852 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.3816, allocations: 216.9 kB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.3816, allocations: 41.69 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.3818, allocations: 152.3 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.3818, allocations: 27.81 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.382, allocations: 57.67 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3821, allocations: 330.8 kB / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.3825, allocations: 171.4 kB / 1.371 GB, free: 5.824 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.3831, allocations: 286 kB / 1.371 GB, free: 5.488 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/0.3837, allocations: 278.9 kB / 1.372 GB, free: 5.176 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3837, allocations: 0 / 1.372 GB, free: 5.176 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00101/0.3847, allocations: 444 kB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.582e-05/0.3848, allocations: 67.39 kB / 1.372 GB, free: 4.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3848, allocations: 0 / 1.372 GB, free: 4.633 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3848, allocations: 4 kB / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.385, allocations: 32.19 kB / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.385, allocations: 7.875 kB / 1.372 GB, free: 4.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.3855, allocations: 71.81 kB / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.3855, allocations: 15.98 kB / 1.372 GB, free: 4.504 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001985/0.3857, allocations: 153.8 kB / 1.372 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.3857, allocations: 23.84 kB / 1.372 GB, free: 4.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.3858, allocations: 21.34 kB / 1.373 GB, free: 4.293 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3858, allocations: 0 / 1.373 GB, free: 4.293 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.3858, allocations: 4 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3858, allocations: 3.984 kB / 1.373 GB, free: 4.285 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.3861, allocations: 216.6 kB / 1.373 GB, free: 4.031 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.3861, allocations: 4 kB / 1.373 GB, free: 4.027 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.3862, allocations: 27.91 kB / 1.373 GB, free: 4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3862, allocations: 4 kB / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.3862, allocations: 8.469 kB / 1.373 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.3863, allocations: 4 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3863, allocations: 0 / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.3869, allocations: 244.2 kB / 1.373 GB, free: 3.715 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.3869, allocations: 27.75 kB / 1.373 GB, free: 3.688 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.3869, allocations: 8 kB / 1.373 GB, free: 3.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3871, allocations: 15.98 kB / 1.373 GB, free: 3.664 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.3871, allocations: 19.97 kB / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3872, allocations: 7.938 kB / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000167/0.3873, allocations: 160.5 kB / 1.373 GB, free: 3.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3873, allocations: 0 / 1.373 GB, free: 3.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003423/0.3877, allocations: 51.89 kB / 1.373 GB, free: 3.43 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001074/0.3887, allocations: 0.7757 MB / 1.374 GB, free: 2.613 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.3899, allocations: 378.1 kB / 1.374 GB, free: 2.207 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3899, allocations: 0 / 1.374 GB, free: 2.207 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004317/0.3903, allocations: 75.81 kB / 1.374 GB, free: 2.133 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005342/0.3908, allocations: 64.81 kB / 1.375 GB, free: 2.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006318/0.3972, allocations: 2.834 MB / 1.377 GB, free: 15.02 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.3974, allocations: 132.9 kB / 1.377 GB, free: 14.87 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002187/0.3976, allocations: 41.61 kB / 1.377 GB, free: 14.83 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.3977, allocations: 63.42 kB / 1.378 GB, free: 14.77 MB / 1.076 GB Notification: Performance of SimCode: time 1.012e-06/0.3977, allocations: 0 / 1.378 GB, free: 14.77 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04808/0.4458, allocations: 6.1 MB / 1.383 GB, free: 8.895 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.05, allocations: 6.641 kB / 1.383 GB, free: 8.891 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.01446956815198]