Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.006947/0.006947, allocations: 101 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.455/2.455, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001527, allocations: 64 kB / 0.9504 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3287, allocations: 140.4 MB / 1.087 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002446/0.3312, allocations: 0.984 MB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3332, allocations: 1.285 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.3334, allocations: 3.938 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.3336, allocations: 15.8 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.3337, allocations: 35.66 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009365/0.3346, allocations: 254 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000494/0.3351, allocations: 347.3 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.3353, allocations: 50.08 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.3355, allocations: 123.7 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.3357, allocations: 123.5 kB / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.178e-05/0.3358, allocations: 28 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.3359, allocations: 43.98 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.489e-05/0.336, allocations: 39.91 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.3362, allocations: 119.4 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.3366, allocations: 338 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3366, allocations: 4 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3366, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.3366, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00113/0.3378, allocations: 0.5644 MB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.3378, allocations: 12.03 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.477e-05/0.3379, allocations: 38.75 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.857e-05/0.338, allocations: 20.75 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.3384, allocations: 259.8 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3384, allocations: 4.375 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.3385, allocations: 16.38 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/0.3389, allocations: 174.4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.339, allocations: 11.92 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.339, allocations: 3.984 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.339, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.3395, allocations: 131.8 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.3409, allocations: 0.8759 MB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.3413, allocations: 168.9 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.3416, allocations: 88.3 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.3417, allocations: 8 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004565/0.3421, allocations: 183.5 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.3421, allocations: 0 / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001008/0.3431, allocations: 289.4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.3433, allocations: 154.2 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.3435, allocations: 210.9 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.975e-05/0.3436, allocations: 29.7 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3437, allocations: 132.3 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.3437, allocations: 27.61 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.3439, allocations: 57.78 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.344, allocations: 326.8 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.3444, allocations: 115.9 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.3448, allocations: 181.1 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/0.3454, allocations: 302.8 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3455, allocations: 0 / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009655/0.3464, allocations: 404.5 kB / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.034e-05/0.3465, allocations: 75.39 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3465, allocations: 224 / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3465, allocations: 11.94 kB / 1.096 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.3467, allocations: 27.97 kB / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.3468, allocations: 3.938 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.3472, allocations: 79.75 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.3473, allocations: 19.98 kB / 1.096 GB, free: 8.926 MB / 0.8575 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.0001569/0.3474, allocations: 135.8 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.3475, allocations: 19.8 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.3475, allocations: 16.94 kB / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.3475, allocations: 7.938 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3475, allocations: 0 / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3476, allocations: 3.984 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.3478, allocations: 241.5 kB / 1.096 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3478, allocations: 4 kB / 1.096 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.348, allocations: 31.91 kB / 1.096 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.348, allocations: 4 kB / 1.096 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.348, allocations: 4 kB / 1.096 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.348, allocations: 7.938 kB / 1.096 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.348, allocations: 0 / 1.096 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006276/0.3487, allocations: 264.1 kB / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.375e-05/0.3487, allocations: 89.39 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.3488, allocations: 8 kB / 1.097 GB, free: 8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.3489, allocations: 31.84 kB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.349, allocations: 15.98 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.349, allocations: 7.984 kB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001397/0.3492, allocations: 148.4 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3492, allocations: 0 / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003043/0.3495, allocations: 51.84 kB / 1.097 GB, free: 7.75 MB / 0.8575 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.001008/0.3505, allocations: 0.799 MB / 1.098 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000822/0.3513, allocations: 386.6 kB / 1.098 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3513, allocations: 0 / 1.098 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.3517, allocations: 87.88 kB / 1.098 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.3521, allocations: 48.23 kB / 1.098 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.3562, allocations: 2.541 MB / 1.101 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.3565, allocations: 0.7278 MB / 1.101 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.942e-05/0.3567, allocations: 25.41 kB / 1.102 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/0.3568, allocations: 51.42 kB / 1.102 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of SimCode: time 1.343e-06/0.3568, allocations: 0 / 1.102 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.3818, allocations: 5.011 MB / 1.106 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/8.048, allocations: 10.58 kB / 1.106 GB, free: 13.96 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_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_RealExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches