Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 193.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 59.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7691, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002351/0.7715, allocations: 1.048 MB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.773, allocations: 1.303 MB / 0.952 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.916e-05/0.7731, allocations: 2.188 kB / 0.952 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.7732, allocations: 11.81 kB / 0.952 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.584e-05/0.7733, allocations: 43.92 kB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/0.774, allocations: 262 kB / 0.9523 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003614/0.7743, allocations: 364.3 kB / 0.9527 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.7745, allocations: 77.33 kB / 0.9528 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.7747, allocations: 136.4 kB / 0.9529 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.7748, allocations: 117 kB / 0.953 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.055e-05/0.7749, allocations: 33.47 kB / 0.953 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.775, allocations: 47.58 kB / 0.9531 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.7751, allocations: 49.69 kB / 0.9531 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.7753, allocations: 131 kB / 0.9532 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.7756, allocations: 362.7 kB / 0.9536 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.7756, allocations: 0 / 0.9536 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7756, allocations: 0 / 0.9536 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.7756, allocations: 1.531 kB / 0.9536 GB, free: 6.215 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009131/0.7766, allocations: 0.6247 MB / 0.9542 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.7766, allocations: 13.69 kB / 0.9542 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.7767, allocations: 47.73 kB / 0.9543 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/0.7768, allocations: 27.59 kB / 0.9543 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.7771, allocations: 260.8 kB / 0.9545 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.7771, allocations: 13.3 kB / 0.9546 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.7772, allocations: 19.12 kB / 0.9546 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.7777, allocations: 197.7 kB / 0.9548 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.7777, allocations: 4 kB / 0.9548 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.7777, allocations: 2.469 kB / 0.9548 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.7777, allocations: 2.406 kB / 0.9548 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/0.7783, allocations: 176.9 kB / 0.9549 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009376/0.7792, allocations: 0.6312 MB / 0.9556 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.7797, allocations: 201.4 kB / 0.9557 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.78, allocations: 139.6 kB / 0.9559 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.78, allocations: 2.688 kB / 0.9559 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004475/0.7805, allocations: 196.9 kB / 0.9561 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.7805, allocations: 4 kB / 0.9561 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001078/0.7816, allocations: 462.1 kB / 0.9565 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.7816, allocations: 110.9 kB / 0.9566 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.7818, allocations: 216.3 kB / 0.9568 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.7819, allocations: 30.08 kB / 0.9569 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.782, allocations: 127.8 kB / 0.957 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.782, allocations: 54.66 kB / 0.957 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.7822, allocations: 68.73 kB / 0.9571 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.7822, allocations: 328.5 kB / 0.9574 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.7826, allocations: 162.2 kB / 0.9576 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.783, allocations: 204.2 kB / 0.9578 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007043/0.7838, allocations: 461.5 kB / 0.9582 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7838, allocations: 0 / 0.9582 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000979/0.7848, allocations: 0.5305 MB / 0.9587 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.575e-05/0.7848, allocations: 125 kB / 0.9588 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.7848, allocations: 1.188 kB / 0.9588 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.7849, allocations: 2.719 kB / 0.9588 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.785, allocations: 48.11 kB / 0.9589 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.7851, allocations: 2.312 kB / 0.9589 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.7855, allocations: 79.97 kB / 0.959 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.38e-05/0.7856, allocations: 28.19 kB / 0.959 GB, free: 2.016 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001313/0.7858, allocations: 205.7 kB / 0.9592 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.7858, allocations: 26.31 kB / 0.9592 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.7858, allocations: 22.23 kB / 0.9592 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.7859, allocations: 2.188 kB / 0.9592 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.7859, allocations: 0 / 0.9592 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7859, allocations: 0 / 0.9592 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009051/0.7868, allocations: 0.6931 MB / 0.9599 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.7868, allocations: 1.375 kB / 0.9599 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.7869, allocations: 29.78 kB / 0.9599 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.787, allocations: 4.969 kB / 0.9599 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.787, allocations: 16.14 kB / 0.96 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.787, allocations: 3.938 kB / 0.96 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.787, allocations: 0 / 0.96 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.7877, allocations: 460.3 kB / 0.9604 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.7878, allocations: 106.5 kB / 0.9605 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.7878, allocations: 6.031 kB / 0.9605 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.788, allocations: 23.88 kB / 0.9605 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.7881, allocations: 18.69 kB / 0.9605 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.7881, allocations: 21.44 kB / 0.9606 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001104/0.7882, allocations: 152.9 kB / 0.9607 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7882, allocations: 4 kB / 0.9607 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003259/0.7885, allocations: 57.47 kB / 0.9608 GB, free: 0.5977 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.001029/0.7896, allocations: 0.997 MB / 0.9617 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.7906, allocations: 0.585 MB / 0.9623 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7907, allocations: 5.281 kB / 0.9623 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.7911, allocations: 253.5 kB / 0.9626 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.7915, allocations: 43.64 kB / 0.9626 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.796, allocations: 2.995 MB / 0.9655 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.7963, allocations: 0.7314 MB / 0.9662 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.7965, allocations: 50.56 kB / 0.9663 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.552e-05/0.7966, allocations: 65.5 kB / 0.9664 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.7966, allocations: 0 / 0.9664 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.8206, allocations: 5.664 MB / 0.9719 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/8.347, allocations: 3.812 kB / 0.9719 GB, free: 9.277 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches