Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0007761/0.0007761, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001298/0.001298, allocations: 215.3 kB / 23.03 MB, free: 2.969 MB / 13.93 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.021/1.021, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.999/1.999, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 75.88 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7685, allocations: 180 MB / 1.352 GB, free: 1.672 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00198/0.7705, allocations: 1.252 MB / 1.354 GB, free: 436 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.7721, allocations: 1.564 MB / 1.355 GB, free: 14.85 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.7722, allocations: 7.938 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.7724, allocations: 31.55 kB / 1.355 GB, free: 14.81 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.7725, allocations: 75.44 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008273/0.7733, allocations: 0.4989 MB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004481/0.7737, allocations: 0.6443 MB / 1.356 GB, free: 13.6 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.774, allocations: 109.3 kB / 1.357 GB, free: 13.49 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.7742, allocations: 263.3 kB / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.7744, allocations: 215.2 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.7744, allocations: 64 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.7746, allocations: 83.91 kB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.7746, allocations: 75.77 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.7748, allocations: 219.1 kB / 1.357 GB, free: 12.59 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.7752, allocations: 0.6877 MB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.7752, allocations: 0 / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7753, allocations: 4 kB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.7753, allocations: 0 / 1.358 GB, free: 11.9 MB / 1.042 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.0008804/0.7761, allocations: 0.8711 MB / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.7762, allocations: 8.922 kB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.716e-05/0.7762, allocations: 58.73 kB / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.825e-05/0.7763, allocations: 56.59 kB / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/0.777, allocations: 417.4 kB / 1.359 GB, free: 10.38 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.7771, allocations: 28.88 kB / 1.359 GB, free: 10.35 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.7771, allocations: 40.38 kB / 1.36 GB, free: 10.31 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.7775, allocations: 460.8 kB / 1.36 GB, free: 9.824 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7776, allocations: 0 / 1.36 GB, free: 9.824 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.7776, allocations: 12 kB / 1.36 GB, free: 9.812 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7776, allocations: 4 kB / 1.36 GB, free: 9.809 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/0.778, allocations: 382.3 kB / 1.36 GB, free: 9.402 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.7791, allocations: 0.7861 MB / 1.361 GB, free: 8.574 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.7795, allocations: 488 kB / 1.362 GB, free: 8.055 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.7798, allocations: 387.5 kB / 1.362 GB, free: 7.645 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.7798, allocations: 7.984 kB / 1.362 GB, free: 7.637 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004006/0.7802, allocations: 459.5 kB / 1.362 GB, free: 7.145 MB / 1.042 GB Notification: Performance of pre-optimization done (n=44): time 2.544e-06/0.7802, allocations: 0 / 1.362 GB, free: 7.145 MB / 1.042 GB Notification: Performance of matching and sorting (n=44): time 0.001/0.7812, allocations: 1.105 MB / 1.363 GB, free: 5.941 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.7813, allocations: 191.9 kB / 1.364 GB, free: 5.711 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.7815, allocations: 292.5 kB / 1.364 GB, free: 5.422 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.7816, allocations: 41.7 kB / 1.364 GB, free: 5.375 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.7817, allocations: 161 kB / 1.364 GB, free: 5.215 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.7817, allocations: 142.8 kB / 1.364 GB, free: 5.074 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.7819, allocations: 130.1 kB / 1.364 GB, free: 4.941 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.782, allocations: 350.8 kB / 1.365 GB, free: 4.59 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.7824, allocations: 0.5313 MB / 1.365 GB, free: 4.004 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.7829, allocations: 0.6062 MB / 1.366 GB, free: 3.309 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/0.7836, allocations: 0.9244 MB / 1.367 GB, free: 2.27 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.7836, allocations: 0 / 1.367 GB, free: 2.27 MB / 1.042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001041/0.7846, allocations: 1.263 MB / 1.368 GB, free: 0.8906 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.7847, allocations: 263.3 kB / 1.368 GB, free: 0.5781 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.7847, allocations: 4 kB / 1.368 GB, free: 0.5742 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.7847, allocations: 8.219 kB / 1.368 GB, free: 0.5664 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.7849, allocations: 67.89 kB / 1.368 GB, free: 0.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.7849, allocations: 7.938 kB / 1.368 GB, free: 0.4922 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.7853, allocations: 147.6 kB / 1.368 GB, free: 356 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.7853, allocations: 63.92 kB / 1.368 GB, free: 292 kB / 1.042 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.0002232/0.7856, allocations: 322.1 kB / 1.369 GB, free: 15.93 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.7856, allocations: 39.75 kB / 1.369 GB, free: 15.89 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.7857, allocations: 35.5 kB / 1.369 GB, free: 15.85 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.7857, allocations: 11.98 kB / 1.369 GB, free: 15.84 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.7857, allocations: 0 / 1.369 GB, free: 15.84 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.7857, allocations: 0 / 1.369 GB, free: 15.84 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.7868, allocations: 1.268 MB / 1.37 GB, free: 14.45 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7868, allocations: 0 / 1.37 GB, free: 14.45 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.7869, allocations: 63.89 kB / 1.37 GB, free: 14.39 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7869, allocations: 4 kB / 1.37 GB, free: 14.39 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.787, allocations: 11.98 kB / 1.37 GB, free: 14.38 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.787, allocations: 7.938 kB / 1.37 GB, free: 14.37 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.787, allocations: 0 / 1.37 GB, free: 14.37 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006564/0.7876, allocations: 0.8961 MB / 1.371 GB, free: 13.39 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.7877, allocations: 43.64 kB / 1.371 GB, free: 13.35 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.7877, allocations: 8 kB / 1.371 GB, free: 13.34 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.7878, allocations: 31.91 kB / 1.371 GB, free: 13.31 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.7879, allocations: 39.94 kB / 1.371 GB, free: 13.27 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.7879, allocations: 55.88 kB / 1.371 GB, free: 13.22 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001361/0.788, allocations: 195.1 kB / 1.371 GB, free: 13.03 MB / 1.057 GB Notification: Performance of sort global known variables: time 8.1e-08/0.788, allocations: 0 / 1.371 GB, free: 13.03 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0003148/0.7884, allocations: 111.9 kB / 1.372 GB, free: 12.92 MB / 1.057 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.0009381/0.7893, allocations: 1.447 MB / 1.373 GB, free: 11.39 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.7903, allocations: 1.438 MB / 1.374 GB, free: 9.754 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7903, allocations: 0.5625 kB / 1.374 GB, free: 9.754 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.7907, allocations: 0.6301 MB / 1.375 GB, free: 9.031 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.7911, allocations: 92.45 kB / 1.375 GB, free: 8.938 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005018/0.7961, allocations: 5.837 MB / 1.381 GB, free: 2.656 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.7962, allocations: 200.7 kB / 1.381 GB, free: 2.438 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001785/0.7964, allocations: 99.12 kB / 1.381 GB, free: 2.34 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.7965, allocations: 111.4 kB / 1.381 GB, free: 2.23 MB / 1.057 GB Notification: Performance of SimCode: time 1.233e-06/0.7965, allocations: 0 / 1.381 GB, free: 2.23 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08885/0.8854, allocations: 11.09 MB / 1.392 GB, free: 7.418 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.15/8.035, allocations: 10.69 kB / 1.392 GB, free: 7.41 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.153297943994403]