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.001749/0.001749, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002053/0.002053, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.547/1.547, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.238/3.238, allocations: 0.49 GB / 0.7916 GB, free: 33.55 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.002099/0.002099, allocations: 69.09 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.356, allocations: 176.1 MB / 1.321 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00317/0.3592, allocations: 1.345 MB / 1.322 GB, free: 2.027 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002391/0.3616, allocations: 1.599 MB / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.3617, allocations: 7.938 kB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.3618, allocations: 31.59 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.362, allocations: 83.38 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.3633, allocations: 496.1 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000732/0.364, allocations: 0.6443 MB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.3643, allocations: 140.8 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.3646, allocations: 255.4 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.3649, allocations: 251 kB / 1.326 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.661e-05/0.365, allocations: 64 kB / 1.326 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.3652, allocations: 79.98 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.3654, allocations: 83.64 kB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.3656, allocations: 243 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007544/0.3664, allocations: 0.6889 MB / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3664, allocations: 4 kB / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3664, allocations: 0 / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.3664, allocations: 0 / 1.327 GB, free: 13.38 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.001362/0.3677, allocations: 0.9464 MB / 1.328 GB, free: 12.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3678, allocations: 15.98 kB / 1.328 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.431e-05/0.3679, allocations: 62.72 kB / 1.328 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.368, allocations: 52.7 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.3693, allocations: 468.1 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.3694, allocations: 36.88 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.252e-05/0.3695, allocations: 40.36 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.3702, allocations: 329.1 kB / 1.329 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3702, allocations: 0 / 1.329 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.3702, allocations: 8 kB / 1.329 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3702, allocations: 4 kB / 1.329 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.3709, allocations: 254.1 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.3725, allocations: 0.9161 MB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006995/0.3732, allocations: 346.6 kB / 1.33 GB, free: 9.719 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/0.3738, allocations: 270.3 kB / 1.33 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3738, allocations: 4 kB / 1.33 GB, free: 9.449 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006388/0.3744, allocations: 315.1 kB / 1.331 GB, free: 9.129 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 1.934e-06/0.3744, allocations: 0 / 1.331 GB, free: 9.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.00176/0.3762, allocations: 0.8422 MB / 1.331 GB, free: 8.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.3763, allocations: 187.9 kB / 1.332 GB, free: 8.023 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.3767, allocations: 296.4 kB / 1.332 GB, free: 7.723 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.795e-05/0.3767, allocations: 49.64 kB / 1.332 GB, free: 7.668 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.3769, allocations: 157 kB / 1.332 GB, free: 7.512 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.377, allocations: 142.8 kB / 1.332 GB, free: 7.371 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/0.3773, allocations: 134.1 kB / 1.332 GB, free: 7.234 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3775, allocations: 350.8 kB / 1.333 GB, free: 6.883 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/0.3782, allocations: 276.8 kB / 1.333 GB, free: 6.613 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000722/0.3789, allocations: 357.8 kB / 1.333 GB, free: 6.219 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.3802, allocations: 0.9167 MB / 1.334 GB, free: 5.188 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3803, allocations: 3.938 kB / 1.334 GB, free: 5.184 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001921/0.3822, allocations: 1.006 MB / 1.335 GB, free: 4.121 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.3824, allocations: 259.3 kB / 1.335 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3824, allocations: 0 / 1.335 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.3824, allocations: 4 kB / 1.335 GB, free: 3.809 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.3827, allocations: 67.89 kB / 1.335 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3827, allocations: 4 kB / 1.335 GB, free: 3.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007828/0.3835, allocations: 143.7 kB / 1.336 GB, free: 3.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.3837, allocations: 67.86 kB / 1.336 GB, free: 3.531 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.0003564/0.384, allocations: 326.1 kB / 1.336 GB, free: 3.172 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.3841, allocations: 39.77 kB / 1.336 GB, free: 3.133 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.856e-05/0.3842, allocations: 39.48 kB / 1.336 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3842, allocations: 4 kB / 1.336 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3842, allocations: 0 / 1.336 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.3842, allocations: 3.984 kB / 1.336 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.3861, allocations: 1.194 MB / 1.337 GB, free: 1.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3861, allocations: 0 / 1.337 GB, free: 1.797 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.3864, allocations: 63.95 kB / 1.337 GB, free: 1.734 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3864, allocations: 7.938 kB / 1.337 GB, free: 1.727 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.3864, allocations: 12 kB / 1.337 GB, free: 1.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.3864, allocations: 7.875 kB / 1.337 GB, free: 1.707 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.3864, allocations: 7.984 kB / 1.337 GB, free: 1.699 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.3877, allocations: 0.7593 MB / 1.338 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-05/0.3878, allocations: 116.8 kB / 1.338 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.3878, allocations: 12 kB / 1.338 GB, free: 0.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.3881, allocations: 27.91 kB / 1.338 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.3882, allocations: 35.95 kB / 1.338 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/0.3883, allocations: 51.88 kB / 1.338 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002196/0.3885, allocations: 195.1 kB / 1.338 GB, free: 456 kB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3885, allocations: 4 kB / 1.338 GB, free: 452 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004518/0.3889, allocations: 115.9 kB / 1.339 GB, free: 336 kB / 1.029 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.001701/0.3906, allocations: 1.314 MB / 1.34 GB, free: 14.96 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.3923, allocations: 1.047 MB / 1.341 GB, free: 13.8 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3923, allocations: 0 / 1.341 GB, free: 13.8 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006777/0.393, allocations: 0.4928 MB / 1.341 GB, free: 13.24 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.3936, allocations: 92.72 kB / 1.341 GB, free: 13.15 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007477/0.4011, allocations: 4.657 MB / 1.346 GB, free: 8.309 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.4016, allocations: 0.7963 MB / 1.347 GB, free: 7.484 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002676/0.4018, allocations: 95.19 kB / 1.347 GB, free: 7.387 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.402, allocations: 111.4 kB / 1.347 GB, free: 7.277 MB / 1.045 GB Notification: Performance of SimCode: time 6.31e-07/0.402, allocations: 0 / 1.347 GB, free: 7.277 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/0.4391, allocations: 9.863 MB / 1.357 GB, free: 13.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.72/9.159, allocations: 11.75 kB / 1.357 GB, free: 13.59 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.911037411075085]