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.00092/0.00092, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001372/0.001372, allocations: 173.2 kB / 23.23 MB, free: 1.328 MB / 18.57 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 0.9564/0.9564, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.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.883/1.883, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 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 3.186e-06/3.186e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.302e-05, allocations: 2.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001473/0.001496, allocations: 0.843 MB / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.002877, allocations: 1.319 MB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.002946, allocations: 7.875 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.003053, allocations: 19.8 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.766e-05/0.00312, allocations: 31.78 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005907/0.003711, allocations: 268.9 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.004002, allocations: 335.3 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.004152, allocations: 45.61 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.004318, allocations: 179.7 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.004454, allocations: 91.73 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.004491, allocations: 28 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.004582, allocations: 47.98 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.004648, allocations: 47.83 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.74e-05/0.004736, allocations: 91.81 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.005189, allocations: 382.9 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005191, allocations: 0 / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.874e-06/0.005193, allocations: 4 kB / 1.004 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.005199, allocations: 0 / 1.004 GB, free: 9.801 MB / 0.9636 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.0005403/0.005739, allocations: 484.7 kB / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.005778, allocations: 9.344 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.005813, allocations: 46.73 kB / 1.005 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.006049, allocations: 64.77 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.006441, allocations: 245.4 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.006461, allocations: 12.38 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.006485, allocations: 20.38 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.006651, allocations: 152 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.006661, allocations: 4.125 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.006675, allocations: 8.375 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.006681, allocations: 3.938 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.006773, allocations: 71.89 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.007309, allocations: 0.6642 MB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.484e-05/0.007384, allocations: 57.2 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.007412, allocations: 17.78 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.007421, allocations: 11.94 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.007561, allocations: 105 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.007562, allocations: 0 / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002143/0.007777, allocations: 129.8 kB / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.007814, allocations: 81.11 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.007956, allocations: 219.8 kB / 1.007 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.007981, allocations: 29.7 kB / 1.007 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.008059, allocations: 144.2 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.008074, allocations: 23.83 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.008146, allocations: 65.62 kB / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.548e-05/0.008232, allocations: 330.8 kB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.008356, allocations: 127.4 kB / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.008507, allocations: 243.3 kB / 1.008 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.008656, allocations: 202.2 kB / 1.008 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.008659, allocations: 0 / 1.008 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003206/0.008979, allocations: 372 kB / 1.008 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.009018, allocations: 67.39 kB / 1.008 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.009024, allocations: 4 kB / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.009037, allocations: 0 / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.136e-05/0.009088, allocations: 15.92 kB / 1.008 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.009095, allocations: 4 kB / 1.008 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.009271, allocations: 56.06 kB / 1.008 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.00929, allocations: 16 kB / 1.008 GB, free: 5.367 MB / 0.9636 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 9.842e-05/0.009389, allocations: 141.8 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.009405, allocations: 23.83 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.009433, allocations: 13.03 kB / 1.008 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.009434, allocations: 3.938 kB / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.009439, allocations: 0 / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.009443, allocations: 8 kB / 1.008 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.009566, allocations: 196.6 kB / 1.009 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.009568, allocations: 3.938 kB / 1.009 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.426e-05/0.009582, allocations: 4 kB / 1.009 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.009583, allocations: 0 / 1.009 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.996e-06/0.009591, allocations: 7.984 kB / 1.009 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.009593, allocations: 4 kB / 1.009 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.009594, allocations: 0 / 1.009 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.009715, allocations: 133.9 kB / 1.009 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.009731, allocations: 19.78 kB / 1.009 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.009744, allocations: 4 kB / 1.009 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.969e-05/0.009764, allocations: 8 kB / 1.009 GB, free: 4.73 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.009793, allocations: 7.984 kB / 1.009 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.009799, allocations: 7.938 kB / 1.009 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.951e-05/0.009878, allocations: 149.5 kB / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009879, allocations: 0 / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001794/0.01006, allocations: 39.89 kB / 1.009 GB, free: 4.531 MB / 0.9636 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.0003306/0.01039, allocations: 0.6756 MB / 1.01 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.01066, allocations: 302.3 kB / 1.01 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01066, allocations: 0 / 1.01 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.277e-05/0.0107, allocations: 27.94 kB / 1.01 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.01088, allocations: 35.91 kB / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.013, allocations: 2.429 MB / 1.012 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.509e-05/0.01307, allocations: 111.6 kB / 1.012 GB, free: 0.6836 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.1e-05/0.01312, allocations: 25.41 kB / 1.012 GB, free: 0.6523 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.458e-05/0.0132, allocations: 64.47 kB / 1.013 GB, free: 0.5898 MB / 0.9636 GB Notification: Performance of SimCode: time 7.02e-07/0.0132, allocations: 0 / 1.013 GB, free: 0.5898 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08336/0.09656, allocations: 5.185 MB / 1.018 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.43/7.527, allocations: 8.062 kB / 1.018 GB, free: 11.61 MB / 0.9792 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.29128206986934]