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.001294/0.001294, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001471/0.001471, allocations: 216.2 kB / 22.25 MB, free: 5.082 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.02 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.293/3.293, allocations: 0.49 GB / 0.7951 GB, free: 33.47 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.002079/0.002079, allocations: 66.19 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3723, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.004608/0.3769, allocations: 1.354 MB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003896/0.3808, allocations: 1.595 MB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.381, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.3812, allocations: 31.55 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.3816, allocations: 75.42 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.3836, allocations: 0.504 MB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001396/0.3849, allocations: 0.6443 MB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005245/0.3855, allocations: 121.3 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006118/0.3861, allocations: 247.4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006855/0.3868, allocations: 255.1 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.387, allocations: 67.94 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.3873, allocations: 79.98 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.3874, allocations: 87.69 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.3879, allocations: 239 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.3892, allocations: 0.689 MB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3892, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3892, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.247e-05/0.3892, allocations: 0 / 1.332 GB, free: 11.99 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.002368/0.3916, allocations: 0.8802 MB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.3916, allocations: 12.03 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.3918, allocations: 62.72 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.392, allocations: 48.7 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.3939, allocations: 405.4 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.518e-05/0.394, allocations: 32.86 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.3941, allocations: 40.38 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.3952, allocations: 320.3 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.3952, allocations: 0 / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.3953, allocations: 12 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.3953, allocations: 8 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.3963, allocations: 253.7 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002722/0.3991, allocations: 0.8759 MB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.4001, allocations: 360.9 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008269/0.401, allocations: 266.5 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.401, allocations: 4 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009655/0.402, allocations: 319.7 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 4.048e-06/0.402, allocations: 0 / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.002567/0.4045, allocations: 0.8335 MB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.4047, allocations: 195.9 kB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/0.4052, allocations: 288.5 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.4053, allocations: 41.7 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.4055, allocations: 172.9 kB / 1.337 GB, free: 6.328 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.4057, allocations: 138.9 kB / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/0.4061, allocations: 130.1 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002336/0.4063, allocations: 346.8 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009784/0.4073, allocations: 280.7 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.4084, allocations: 357.4 kB / 1.338 GB, free: 5.051 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.4103, allocations: 0.9128 MB / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.4103, allocations: 4 kB / 1.339 GB, free: 4.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0024/0.4127, allocations: 0.9939 MB / 1.34 GB, free: 2.969 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002032/0.4129, allocations: 263.3 kB / 1.34 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4129, allocations: 4 kB / 1.34 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.4129, allocations: 7.938 kB / 1.34 GB, free: 2.645 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.4133, allocations: 71.83 kB / 1.34 GB, free: 2.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.4133, allocations: 4.219 kB / 1.34 GB, free: 2.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009817/0.4143, allocations: 139.6 kB / 1.341 GB, free: 2.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.4144, allocations: 67.92 kB / 1.341 GB, free: 2.367 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.0004182/0.4148, allocations: 330.7 kB / 1.341 GB, free: 2.004 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.4149, allocations: 35.77 kB / 1.341 GB, free: 1.969 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.415, allocations: 43.48 kB / 1.341 GB, free: 1.922 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.415, allocations: 4 kB / 1.341 GB, free: 1.918 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4151, allocations: 0 / 1.341 GB, free: 1.918 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.4151, allocations: 11.98 kB / 1.341 GB, free: 1.906 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.4171, allocations: 1.167 MB / 1.342 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4171, allocations: 7.938 kB / 1.342 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.4173, allocations: 63.89 kB / 1.342 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4174, allocations: 3.984 kB / 1.342 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.4174, allocations: 12 kB / 1.342 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4174, allocations: 7.938 kB / 1.342 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4174, allocations: 0 / 1.342 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.4186, allocations: 0.7627 MB / 1.343 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.4187, allocations: 39.64 kB / 1.343 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.4187, allocations: 15.92 kB / 1.343 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.4189, allocations: 31.72 kB / 1.343 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/0.419, allocations: 35.94 kB / 1.343 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-05/0.4191, allocations: 47.95 kB / 1.343 GB, free: 15.59 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002105/0.4193, allocations: 203.1 kB / 1.343 GB, free: 15.39 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4193, allocations: 0 / 1.343 GB, free: 15.39 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004364/0.4197, allocations: 104 kB / 1.343 GB, free: 15.29 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.001631/0.4214, allocations: 1.33 MB / 1.345 GB, free: 13.9 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.423, allocations: 1.038 MB / 1.346 GB, free: 12.75 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.423, allocations: 0 / 1.346 GB, free: 12.75 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006717/0.4237, allocations: 0.489 MB / 1.346 GB, free: 12.2 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000576/0.4243, allocations: 94.69 kB / 1.346 GB, free: 12.11 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007484/0.4318, allocations: 4.653 MB / 1.351 GB, free: 7.27 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.4323, allocations: 0.7962 MB / 1.352 GB, free: 6.445 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002694/0.4325, allocations: 91.2 kB / 1.352 GB, free: 6.352 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.4327, allocations: 123.4 kB / 1.352 GB, free: 6.23 MB / 1.045 GB Notification: Performance of SimCode: time 6.11e-07/0.4327, allocations: 0 / 1.352 GB, free: 6.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04621/0.4789, allocations: 10.2 MB / 1.362 GB, free: 12.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.52, allocations: 0 / 1.362 GB, free: 12.25 MB / 1.061 GB " [Timeout remaining time 287] (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.367673228960484]