Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001497/0.001497, allocations: 104.3 kB / 19.72 MB, free: 424 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.001621/0.001621, allocations: 210.8 kB / 23.02 MB, free: 2.977 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.031/1.031, allocations: 230.6 MB / 256.8 MB, free: 9.598 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 2.045/2.045, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 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.RealExtractSignal,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 71.89 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7567/0.7577, allocations: 180 MB / 1.352 GB, free: 1.656 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001909/0.7596, allocations: 0.9613 MB / 1.353 GB, free: 0.7031 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.7612, allocations: 1.354 MB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.7613, allocations: 0 / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.7614, allocations: 19.73 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 9.286e-05/0.7615, allocations: 43.66 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.7622, allocations: 288.4 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003624/0.7625, allocations: 379.3 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.7627, allocations: 45.58 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.7629, allocations: 159.6 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/0.7633, allocations: 119.5 kB / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.7633, allocations: 36 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.7634, allocations: 47.98 kB / 1.356 GB, free: 14.23 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.831e-05/0.7635, allocations: 59.78 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.7636, allocations: 123.5 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.7639, allocations: 397.1 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7639, allocations: 0 / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7639, allocations: 4 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.7639, allocations: 0 / 1.356 GB, free: 13.66 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007512/0.7647, allocations: 0.5433 MB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.7647, allocations: 8.922 kB / 1.357 GB, free: 13.06 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.7648, allocations: 46.73 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002778/0.7651, allocations: 68.7 kB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/0.7656, allocations: 309.1 kB / 1.357 GB, free: 12.61 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.7656, allocations: 16.38 kB / 1.357 GB, free: 12.6 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.7657, allocations: 24.36 kB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.7659, allocations: 207.9 kB / 1.358 GB, free: 12.35 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.766, allocations: 4 kB / 1.358 GB, free: 12.35 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.766, allocations: 8 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.766, allocations: 7.938 kB / 1.358 GB, free: 12.33 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.7662, allocations: 139.8 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.767, allocations: 0.8204 MB / 1.358 GB, free: 11.32 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.7672, allocations: 152.9 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.7673, allocations: 84.3 kB / 1.359 GB, free: 11.02 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.7673, allocations: 0 / 1.359 GB, free: 11.02 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/0.7676, allocations: 171.4 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.7676, allocations: 0 / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.0005056/0.7682, allocations: 257.6 kB / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.7682, allocations: 158.2 kB / 1.359 GB, free: 10.38 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.7684, allocations: 229.2 kB / 1.359 GB, free: 10.15 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.7684, allocations: 37.7 kB / 1.36 GB, free: 10.11 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.7685, allocations: 148.4 kB / 1.36 GB, free: 9.957 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.7685, allocations: 35.72 kB / 1.36 GB, free: 9.922 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.526e-05/0.7686, allocations: 57.69 kB / 1.36 GB, free: 9.859 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.7687, allocations: 334.8 kB / 1.36 GB, free: 9.523 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.7689, allocations: 163.3 kB / 1.36 GB, free: 9.352 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.7692, allocations: 296 kB / 1.361 GB, free: 9.004 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.7695, allocations: 274.9 kB / 1.361 GB, free: 8.695 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7695, allocations: 0 / 1.361 GB, free: 8.695 MB / 1.042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005021/0.77, allocations: 444.1 kB / 1.361 GB, free: 8.23 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.77, allocations: 67.41 kB / 1.361 GB, free: 8.152 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.77, allocations: 144 / 1.361 GB, free: 8.152 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.7701, allocations: 4 kB / 1.361 GB, free: 8.148 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.7702, allocations: 27.95 kB / 1.361 GB, free: 8.121 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.7702, allocations: 7.938 kB / 1.361 GB, free: 8.113 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.7704, allocations: 67.97 kB / 1.361 GB, free: 8.047 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.7704, allocations: 19.98 kB / 1.361 GB, free: 8.027 MB / 1.042 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.0001165/0.7705, allocations: 152.6 kB / 1.362 GB, free: 7.871 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.7705, allocations: 27.8 kB / 1.362 GB, free: 7.844 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.7706, allocations: 21.33 kB / 1.362 GB, free: 7.816 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.7706, allocations: 4 kB / 1.362 GB, free: 7.812 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7706, allocations: 0 / 1.362 GB, free: 7.812 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.7706, allocations: 8 kB / 1.362 GB, free: 7.805 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.7708, allocations: 216.6 kB / 1.362 GB, free: 7.551 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7708, allocations: 0 / 1.362 GB, free: 7.551 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-05/0.7708, allocations: 35.91 kB / 1.362 GB, free: 7.516 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.7708, allocations: 0 / 1.362 GB, free: 7.516 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.7708, allocations: 4 kB / 1.362 GB, free: 7.512 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7709, allocations: 4 kB / 1.362 GB, free: 7.508 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7709, allocations: 4 kB / 1.362 GB, free: 7.504 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.7712, allocations: 248.2 kB / 1.362 GB, free: 7.23 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.7712, allocations: 15.91 kB / 1.362 GB, free: 7.215 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.7712, allocations: 0 / 1.362 GB, free: 7.215 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.001e-05/0.7713, allocations: 19.97 kB / 1.362 GB, free: 7.195 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.7713, allocations: 11.98 kB / 1.362 GB, free: 7.184 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.7713, allocations: 27.86 kB / 1.362 GB, free: 7.156 MB / 1.042 GB Notification: Performance of sorting global known variables: time 9.549e-05/0.7714, allocations: 156.5 kB / 1.362 GB, free: 7 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7714, allocations: 0 / 1.362 GB, free: 7 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0004674/0.7719, allocations: 51.89 kB / 1.362 GB, free: 6.949 MB / 1.042 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.0005357/0.7724, allocations: 0.7796 MB / 1.363 GB, free: 6.129 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0004588/0.7729, allocations: 385.9 kB / 1.363 GB, free: 5.715 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7729, allocations: 0 / 1.363 GB, free: 5.715 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.773, allocations: 72.31 kB / 1.364 GB, free: 5.645 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.7733, allocations: 52.28 kB / 1.364 GB, free: 5.594 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.7762, allocations: 2.817 MB / 1.366 GB, free: 2.562 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.7764, allocations: 136.8 kB / 1.366 GB, free: 2.41 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.7765, allocations: 34 kB / 1.367 GB, free: 2.375 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.527e-05/0.7766, allocations: 67.39 kB / 1.367 GB, free: 2.309 MB / 1.042 GB Notification: Performance of SimCode: time 1.914e-06/0.7766, allocations: 0 / 1.367 GB, free: 2.309 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09087/0.8675, allocations: 6.111 MB / 1.373 GB, free: 12.42 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.091/7.958, allocations: 4 kB / 1.373 GB, free: 12.41 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_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_RealExtractSignal.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.05420586001128]