Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001876/0.001876, 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.003029/0.003029, allocations: 219 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.843/2.843, allocations: 476.7 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_11_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.002107/0.002107, allocations: 67.75 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 170 MB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002295/0.3346, allocations: 1.026 MB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3365, allocations: 1.367 MB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.3365, allocations: 3.938 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.3367, allocations: 23.73 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.3368, allocations: 43.64 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.3376, allocations: 277.6 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.338, allocations: 387.2 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.3382, allocations: 49.77 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.3384, allocations: 155.7 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.3386, allocations: 127.5 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.124e-05/0.3387, allocations: 36 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.3388, allocations: 59.95 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.195e-05/0.3389, allocations: 59.78 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.339, allocations: 143.4 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.3395, allocations: 402.8 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3395, allocations: 0 / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3395, allocations: 0 / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3395, allocations: 0 / 1.287 GB, free: 7.652 MB / 0.9825 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.0009402/0.3404, allocations: 0.5488 MB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3405, allocations: 8.031 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.247e-05/0.3405, allocations: 50.75 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000328/0.3409, allocations: 68.75 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008812/0.3417, allocations: 305.1 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.3418, allocations: 16.38 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.3418, allocations: 28.36 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.3422, allocations: 203.9 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3423, allocations: 0 / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.3423, allocations: 8 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3423, allocations: 4 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.3428, allocations: 143.8 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.3439, allocations: 0.8749 MB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.3443, allocations: 152.9 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.3445, allocations: 80.25 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.3445, allocations: 4 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/0.3449, allocations: 175.4 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.3449, allocations: 0 / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0008705/0.3458, allocations: 253.3 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.3459, allocations: 162.2 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.3461, allocations: 225.2 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.3462, allocations: 33.7 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.3463, allocations: 156.3 kB / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.3463, allocations: 31.86 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3465, allocations: 53.69 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3466, allocations: 334.8 kB / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.347, allocations: 95.91 kB / 1.291 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.3473, allocations: 174.2 kB / 1.291 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005942/0.3479, allocations: 274.9 kB / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3479, allocations: 0 / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008936/0.3488, allocations: 388.7 kB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.3489, allocations: 61.75 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3489, allocations: 4 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3489, allocations: 4 kB / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.3491, allocations: 23.97 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3491, allocations: 7.938 kB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.3495, allocations: 79.89 kB / 1.292 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.3495, allocations: 15.98 kB / 1.292 GB, free: 2.258 MB / 0.9825 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.0001623/0.3497, allocations: 145.8 kB / 1.292 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.3497, allocations: 19.91 kB / 1.292 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.3498, allocations: 29.33 kB / 1.292 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3498, allocations: 4.469 kB / 1.292 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3498, allocations: 0 / 1.292 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3498, allocations: 0 / 1.292 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.3501, allocations: 236.5 kB / 1.293 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3501, allocations: 0 / 1.293 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.3502, allocations: 27.91 kB / 1.293 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3502, allocations: 4 kB / 1.293 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3502, allocations: 3.984 kB / 1.293 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3502, allocations: 8 kB / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3502, allocations: 0 / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.3508, allocations: 244.2 kB / 1.293 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.3508, allocations: 23.8 kB / 1.293 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.3509, allocations: 0 / 1.293 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.351, allocations: 23.97 kB / 1.293 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.3511, allocations: 15.97 kB / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.3511, allocations: 15.88 kB / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001473/0.3512, allocations: 160.5 kB / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3512, allocations: 0 / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002987/0.3515, allocations: 51.89 kB / 1.293 GB, free: 1.172 MB / 0.9825 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.0009021/0.3524, allocations: 0.7719 MB / 1.294 GB, free: 368 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007431/0.3532, allocations: 314.5 kB / 1.294 GB, free: 28 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3532, allocations: 0 / 1.294 GB, free: 28 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.3535, allocations: 76.48 kB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.3538, allocations: 52.33 kB / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.3578, allocations: 2.565 MB / 1.297 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.3582, allocations: 0.7476 MB / 1.298 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.3583, allocations: 33.62 kB / 1.298 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.3584, allocations: 67.41 kB / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/0.3584, allocations: 0 / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.393, allocations: 5.396 MB / 1.303 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.73, allocations: 6.469 kB / 1.303 GB, free: 7.082 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.57699365215376]