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.001246/0.001246, allocations: 80.55 kB / 19.96 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.001533/0.001533, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9382/0.9382, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.846/1.846, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.785e-06/2.785e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/2.126e-05, allocations: 2.281 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001763/0.001784, allocations: 1.238 MB / 1.002 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.003363, allocations: 1.583 MB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.003478, allocations: 7.938 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.003601, allocations: 31.61 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.003707, allocations: 83.3 kB / 1.004 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.004563, allocations: 0.4962 MB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005044/0.005068, allocations: 0.6637 MB / 1.005 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.005295, allocations: 109.3 kB / 1.005 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.00559, allocations: 363.4 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.005779, allocations: 195.5 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.005842, allocations: 64 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.006199, allocations: 75.98 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.006271, allocations: 91.61 kB / 1.006 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.006414, allocations: 183.6 kB / 1.006 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005281/0.006942, allocations: 0.7673 MB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.006946, allocations: 0 / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.513e-06/0.006948, allocations: 0 / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.006955, allocations: 0 / 1.006 GB, free: 7.621 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008779/0.007833, allocations: 0.875 MB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.007874, allocations: 9.344 kB / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.007923, allocations: 66.72 kB / 1.007 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.008004, allocations: 52.7 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007189/0.008723, allocations: 408.7 kB / 1.008 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.008754, allocations: 28.86 kB / 1.008 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.0088, allocations: 40.38 kB / 1.008 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.009251, allocations: 453 kB / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.009259, allocations: 192 / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.009279, allocations: 16.36 kB / 1.008 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.009288, allocations: 11.94 kB / 1.008 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.009677, allocations: 386.3 kB / 1.009 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.01079, allocations: 0.7746 MB / 1.009 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.01124, allocations: 483.6 kB / 1.01 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.01155, allocations: 392.9 kB / 1.01 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.01157, allocations: 8 kB / 1.01 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003744/0.01194, allocations: 455.5 kB / 1.011 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=44): time 2.134e-06/0.01194, allocations: 0 / 1.011 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of matching and sorting (n=44): time 0.001019/0.01296, allocations: 1.101 MB / 1.012 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.01305, allocations: 191.9 kB / 1.012 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.01357, allocations: 292.5 kB / 1.012 GB, free: 1.148 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/0.01363, allocations: 41.7 kB / 1.012 GB, free: 1.102 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.01375, allocations: 172.9 kB / 1.012 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.686e-05/0.01382, allocations: 134.9 kB / 1.013 GB, free: 0.7969 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.01397, allocations: 142.1 kB / 1.013 GB, free: 0.6484 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.01408, allocations: 346.8 kB / 1.013 GB, free: 308 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.01454, allocations: 0.5236 MB / 1.014 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.01504, allocations: 0.6065 MB / 1.014 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006774/0.01572, allocations: 0.9253 MB / 1.015 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.01572, allocations: 0 / 1.015 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001046/0.01677, allocations: 1.264 MB / 1.016 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.01688, allocations: 255.3 kB / 1.017 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.01689, allocations: 4 kB / 1.017 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.01691, allocations: 7.938 kB / 1.017 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.01707, allocations: 67.89 kB / 1.017 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.01708, allocations: 4 kB / 1.017 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.01747, allocations: 147.5 kB / 1.017 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/0.01755, allocations: 67.92 kB / 1.017 GB, free: 12 MB / 0.9792 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.0002312/0.01778, allocations: 314.2 kB / 1.017 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.01782, allocations: 47.7 kB / 1.017 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.977e-05/0.01788, allocations: 43.48 kB / 1.017 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.01788, allocations: 4 kB / 1.017 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.01789, allocations: 4 kB / 1.017 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.0179, allocations: 0 / 1.017 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.01913, allocations: 1.268 MB / 1.018 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.01914, allocations: 4 kB / 1.018 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.01926, allocations: 59.95 kB / 1.019 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.01927, allocations: 7.938 kB / 1.019 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.01929, allocations: 8 kB / 1.019 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01929, allocations: 0 / 1.019 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01929, allocations: 8 kB / 1.019 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009341/0.02022, allocations: 0.8999 MB / 1.019 GB, free: 9.121 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.02027, allocations: 35.7 kB / 1.019 GB, free: 9.086 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.0203, allocations: 12 kB / 1.019 GB, free: 9.074 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.02041, allocations: 23.97 kB / 1.02 GB, free: 9.051 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.02049, allocations: 39.94 kB / 1.02 GB, free: 9.012 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/0.02055, allocations: 51.88 kB / 1.02 GB, free: 8.961 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00014/0.02069, allocations: 207 kB / 1.02 GB, free: 8.758 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02069, allocations: 0 / 1.02 GB, free: 8.758 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003432/0.02103, allocations: 103.9 kB / 1.02 GB, free: 8.656 MB / 0.9792 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.0009824/0.02201, allocations: 1.463 MB / 1.021 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.02313, allocations: 1.433 MB / 1.023 GB, free: 5.473 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.02313, allocations: 4.188 kB / 1.023 GB, free: 5.469 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.02353, allocations: 0.6187 MB / 1.023 GB, free: 4.758 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.02391, allocations: 88.47 kB / 1.023 GB, free: 4.672 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/0.02911, allocations: 5.838 MB / 1.029 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.02925, allocations: 193 kB / 1.029 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001834/0.02943, allocations: 99.12 kB / 1.029 GB, free: 14.08 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.02955, allocations: 116.5 kB / 1.03 GB, free: 13.97 MB / 0.9948 GB Notification: Performance of SimCode: time 2.084e-06/0.02955, allocations: 4 kB / 1.03 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09127/0.1208, allocations: 11.18 MB / 1.04 GB, free: 3.07 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.184, allocations: 6.406 kB / 1.04 GB, free: 3.066 MB / 0.9948 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: 12.902152759954333]