Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.0009882/0.0009882, allocations: 104.3 kB / 19.72 MB, free: 420 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.001841/0.001841, allocations: 223.6 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.047/1.047, allocations: 230.6 MB / 256.8 MB, free: 9.617 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.985/1.985, allocations: 0.5045 GB / 0.8104 GB, free: 2.805 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.IntegerExtractSignal,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 75.89 kB / 1.177 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7697, allocations: 180 MB / 1.352 GB, free: 1.73 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001712/0.7714, allocations: 0.8441 MB / 1.353 GB, free: 0.8906 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.7728, allocations: 1.311 MB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.7729, allocations: 4 kB / 1.355 GB, free: 15.56 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.773, allocations: 19.73 kB / 1.355 GB, free: 15.54 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.792e-05/0.7731, allocations: 31.78 kB / 1.355 GB, free: 15.51 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.7737, allocations: 260.6 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.774, allocations: 331.3 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.7742, allocations: 37.64 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.7743, allocations: 127.8 kB / 1.355 GB, free: 14.78 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.7744, allocations: 111.5 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.7745, allocations: 32 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.018e-05/0.7746, allocations: 40 kB / 1.356 GB, free: 14.6 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.709e-05/0.7746, allocations: 51.83 kB / 1.356 GB, free: 14.55 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 8.691e-05/0.7747, allocations: 99.58 kB / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.775, allocations: 349.2 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.775, allocations: 7.938 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.854e-06/0.775, allocations: 0 / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.775, allocations: 0 / 1.356 GB, free: 14.1 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005652/0.7756, allocations: 480.7 kB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.7756, allocations: 16.92 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.7757, allocations: 50.67 kB / 1.357 GB, free: 13.51 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/0.7759, allocations: 56.77 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.7763, allocations: 234.1 kB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.7763, allocations: 16.36 kB / 1.357 GB, free: 13.19 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.7764, allocations: 20.38 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.7765, allocations: 151.4 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.7765, allocations: 4 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.7765, allocations: 7.938 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.7766, allocations: 8 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.632e-05/0.7766, allocations: 67.89 kB / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.7772, allocations: 0.6835 MB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.181e-05/0.7773, allocations: 57.23 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.7773, allocations: 21.78 kB / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.7773, allocations: 0 / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.7775, allocations: 101 kB / 1.358 GB, free: 11.96 MB / 1.042 GB Notification: Performance of pre-optimization done (n=8): time 7.42e-07/0.7775, allocations: 0 / 1.358 GB, free: 11.96 MB / 1.042 GB Notification: Performance of matching and sorting (n=8): time 0.0002304/0.7778, allocations: 129.6 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.7778, allocations: 81.05 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.778, allocations: 223.6 kB / 1.358 GB, free: 11.5 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.778, allocations: 33.7 kB / 1.358 GB, free: 11.46 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.7781, allocations: 136.3 kB / 1.358 GB, free: 11.32 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.7781, allocations: 19.88 kB / 1.358 GB, free: 11.3 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.7781, allocations: 65.69 kB / 1.359 GB, free: 11.23 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002318/0.7784, allocations: 330.8 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.7785, allocations: 131.4 kB / 1.359 GB, free: 10.76 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.7786, allocations: 247.4 kB / 1.359 GB, free: 10.46 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.7788, allocations: 190.1 kB / 1.359 GB, free: 10.24 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.7788, allocations: 0 / 1.359 GB, free: 10.24 MB / 1.042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003222/0.7791, allocations: 368.2 kB / 1.36 GB, free: 9.852 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.7792, allocations: 67.39 kB / 1.36 GB, free: 9.773 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7792, allocations: 0 / 1.36 GB, free: 9.773 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.7792, allocations: 4 kB / 1.36 GB, free: 9.77 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.7792, allocations: 8 kB / 1.36 GB, free: 9.762 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.7793, allocations: 3.984 kB / 1.36 GB, free: 9.758 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.7794, allocations: 67.72 kB / 1.36 GB, free: 9.691 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.7795, allocations: 16.08 kB / 1.36 GB, free: 9.676 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001066/0.7796, allocations: 146.3 kB / 1.36 GB, free: 9.523 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.7796, allocations: 19.89 kB / 1.36 GB, free: 9.504 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.7796, allocations: 17.03 kB / 1.36 GB, free: 9.484 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7796, allocations: 7.938 kB / 1.36 GB, free: 9.477 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7796, allocations: 0 / 1.36 GB, free: 9.477 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.7796, allocations: 0 / 1.36 GB, free: 9.477 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.7798, allocations: 200.6 kB / 1.36 GB, free: 9.238 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7798, allocations: 4 kB / 1.36 GB, free: 9.234 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.702e-05/0.7798, allocations: 8 kB / 1.36 GB, free: 9.227 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.7798, allocations: 0 / 1.36 GB, free: 9.227 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.7798, allocations: 4 kB / 1.36 GB, free: 9.223 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7798, allocations: 7.922 kB / 1.36 GB, free: 9.215 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7798, allocations: 0 / 1.36 GB, free: 9.215 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.7799, allocations: 141.8 kB / 1.36 GB, free: 9.055 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.7799, allocations: 15.86 kB / 1.36 GB, free: 9.039 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.7799, allocations: 0 / 1.36 GB, free: 9.039 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.78, allocations: 4 kB / 1.36 GB, free: 9.035 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.78, allocations: 8.453 kB / 1.36 GB, free: 9.027 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.78, allocations: 4 kB / 1.36 GB, free: 9.023 MB / 1.042 GB Notification: Performance of sorting global known variables: time 7.98e-05/0.7801, allocations: 153.5 kB / 1.361 GB, free: 8.875 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7801, allocations: 0 / 1.361 GB, free: 8.875 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001905/0.7803, allocations: 39.94 kB / 1.361 GB, free: 8.836 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0003451/0.7806, allocations: 0.6821 MB / 1.361 GB, free: 8.121 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.7809, allocations: 302 kB / 1.362 GB, free: 7.789 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7809, allocations: 0 / 1.362 GB, free: 7.789 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.7809, allocations: 24.36 kB / 1.362 GB, free: 7.766 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.7811, allocations: 43.69 kB / 1.362 GB, free: 7.723 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.783, allocations: 2.435 MB / 1.364 GB, free: 5.098 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.285e-05/0.7831, allocations: 123.6 kB / 1.364 GB, free: 4.957 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.521e-05/0.7832, allocations: 21.47 kB / 1.364 GB, free: 4.938 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.7832, allocations: 51.42 kB / 1.364 GB, free: 4.887 MB / 1.042 GB Notification: Performance of SimCode: time 1.002e-06/0.7832, allocations: 0 / 1.364 GB, free: 4.887 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08702/0.8703, allocations: 5.078 MB / 1.369 GB, free: 24 kB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.978, allocations: 9.047 kB / 1.369 GB, free: 20 kB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_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_IntegerExtractSignal.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.994198573753238]