Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00186/0.00186, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002337/0.002337, allocations: 222.1 kB / 22.25 MB, free: 5.105 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.797 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.241/3.241, allocations: 0.49 GB / 0.7951 GB, free: 35.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.RealExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_12_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.002081/0.002081, allocations: 73.58 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3751, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002457/0.3776, allocations: 0.9592 MB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.3797, allocations: 1.35 MB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.3798, allocations: 4 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.3799, allocations: 15.75 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.38, allocations: 47.64 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.3808, allocations: 286.9 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004729/0.3813, allocations: 379.2 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.3815, allocations: 49.77 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.3817, allocations: 151.7 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.3819, allocations: 143.4 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.621e-05/0.382, allocations: 32 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3821, allocations: 48 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3822, allocations: 67.75 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.3823, allocations: 115.6 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.3829, allocations: 402.5 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3829, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3829, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.3829, allocations: 0 / 1.33 GB, free: 13.51 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001072/0.384, allocations: 0.5511 MB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.384, allocations: 8.031 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.579e-05/0.384, allocations: 46.73 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003544/0.3844, allocations: 72.62 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000932/0.3853, allocations: 305.2 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.3854, allocations: 16.38 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.3854, allocations: 20.38 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.3859, allocations: 210.1 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3859, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.3859, allocations: 8 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.3859, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.3864, allocations: 147.7 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.3877, allocations: 0.8282 MB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.388, allocations: 141 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.3883, allocations: 88.25 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3883, allocations: 3.984 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005012/0.3888, allocations: 167.5 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.3888, allocations: 4 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0008994/0.3897, allocations: 253.9 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.3898, allocations: 174.1 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.3901, allocations: 221 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.3901, allocations: 33.7 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.3903, allocations: 152.3 kB / 1.333 GB, free: 9.789 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.3903, allocations: 31.78 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3905, allocations: 57.69 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3906, allocations: 330.8 kB / 1.333 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/0.391, allocations: 167.3 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.3915, allocations: 289.6 kB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006064/0.3921, allocations: 278.9 kB / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3921, allocations: 0 / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009625/0.3931, allocations: 440.2 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.232e-05/0.3931, allocations: 67.39 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3932, allocations: 7.938 kB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.3932, allocations: 7.984 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.3934, allocations: 27.91 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3934, allocations: 4 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.3938, allocations: 75.92 kB / 1.335 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.3938, allocations: 16 kB / 1.335 GB, free: 7.859 MB / 1.029 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.0002253/0.394, allocations: 154.2 kB / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.3941, allocations: 19.91 kB / 1.335 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.65e-05/0.3942, allocations: 21.33 kB / 1.335 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.3942, allocations: 8 kB / 1.335 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.3942, allocations: 0 / 1.335 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.3942, allocations: 4 kB / 1.335 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.3945, allocations: 224.6 kB / 1.335 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.3945, allocations: 3.984 kB / 1.335 GB, free: 7.375 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.3946, allocations: 19.98 kB / 1.335 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3946, allocations: 4 kB / 1.335 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.3946, allocations: 7.984 kB / 1.335 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3946, allocations: 0 / 1.335 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3946, allocations: 4 kB / 1.335 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/0.3953, allocations: 244.2 kB / 1.335 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.3953, allocations: 23.8 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.3953, allocations: 0 / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.3955, allocations: 27.97 kB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.3955, allocations: 11.98 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3956, allocations: 7.938 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001757/0.3957, allocations: 160.5 kB / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3957, allocations: 3.938 kB / 1.336 GB, free: 6.844 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003125/0.3961, allocations: 55.88 kB / 1.336 GB, free: 6.789 MB / 1.029 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.0009935/0.397, allocations: 0.7757 MB / 1.337 GB, free: 5.973 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008318/0.3979, allocations: 370.3 kB / 1.337 GB, free: 5.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3979, allocations: 8.062 kB / 1.337 GB, free: 5.566 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.3981, allocations: 71.88 kB / 1.337 GB, free: 5.496 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3985, allocations: 64.59 kB / 1.337 GB, free: 5.434 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.403, allocations: 2.81 MB / 1.34 GB, free: 2.406 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.4031, allocations: 140.8 kB / 1.34 GB, free: 2.246 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.4032, allocations: 37.98 kB / 1.34 GB, free: 2.211 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.4033, allocations: 63.41 kB / 1.34 GB, free: 2.152 MB / 1.029 GB Notification: Performance of SimCode: time 9.11e-07/0.4033, allocations: 0 / 1.34 GB, free: 2.152 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/0.4395, allocations: 6.14 MB / 1.346 GB, free: 12.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.02, allocations: 17.16 kB / 1.346 GB, free: 12.22 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.834345216018846]