Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_latest_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.005498/0.005498, allocations: 97.12 kB / 15.73 MB, free: 6.004 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.00112/0.00112, allocations: 195 kB / 16.67 MB, free: 5.934 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.444/1.444, 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 11.1.0-master/package.mo): time 2.895/2.895, allocations: 469.4 MB / 0.7422 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 67.83 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3505, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00274/0.3533, allocations: 1.349 MB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.3555, allocations: 1.552 MB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.3557, allocations: 4 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.3559, allocations: 35.55 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.3561, allocations: 75.38 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3573, allocations: 0.4987 MB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007772/0.3581, allocations: 0.6833 MB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000325/0.3584, allocations: 168.8 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003635/0.3588, allocations: 247.4 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.3592, allocations: 251.1 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.3593, allocations: 64 kB / 1.225 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.3594, allocations: 79.92 kB / 1.225 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.035e-05/0.3595, allocations: 79.77 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.3598, allocations: 246.9 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006668/0.3605, allocations: 0.6889 MB / 1.226 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3605, allocations: 0 / 1.226 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3605, allocations: 0 / 1.226 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.3605, allocations: 3.984 kB / 1.226 GB, free: 8.625 MB / 0.9825 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.001348/0.3619, allocations: 0.9465 MB / 1.227 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3619, allocations: 8.031 kB / 1.227 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.411e-05/0.362, allocations: 62.72 kB / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.3621, allocations: 52.66 kB / 1.227 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.3635, allocations: 476 kB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.3636, allocations: 36.88 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.799e-05/0.3636, allocations: 44.36 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.3643, allocations: 321.1 kB / 1.227 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3643, allocations: 0 / 1.227 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.3644, allocations: 12 kB / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3644, allocations: 4 kB / 1.228 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006638/0.3651, allocations: 254 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.3667, allocations: 0.9161 MB / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/0.3674, allocations: 383 kB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004986/0.3679, allocations: 285.6 kB / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.3679, allocations: 4 kB / 1.229 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005752/0.3685, allocations: 319 kB / 1.23 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.785e-06/0.3685, allocations: 4 kB / 1.23 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.001574/0.3701, allocations: 0.8345 MB / 1.23 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.3702, allocations: 191.9 kB / 1.231 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.3705, allocations: 288.5 kB / 1.231 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.88e-05/0.3706, allocations: 41.7 kB / 1.231 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3708, allocations: 172.8 kB / 1.231 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.3709, allocations: 138.9 kB / 1.231 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.3711, allocations: 138.1 kB / 1.231 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3713, allocations: 350.8 kB / 1.232 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006131/0.3719, allocations: 272.8 kB / 1.232 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.3726, allocations: 365.8 kB / 1.232 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.3738, allocations: 0.9168 MB / 1.233 GB, free: 392 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3738, allocations: 0 / 1.233 GB, free: 392 kB / 0.9825 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001693/0.3755, allocations: 0.9941 MB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.3757, allocations: 255.3 kB / 1.234 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3757, allocations: 4 kB / 1.234 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.3757, allocations: 4 kB / 1.234 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.376, allocations: 67.89 kB / 1.234 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.376, allocations: 7.938 kB / 1.234 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/0.3768, allocations: 151.5 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.377, allocations: 71.91 kB / 1.235 GB, free: 14.72 MB / 0.9981 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.0003502/0.3773, allocations: 327.6 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.3774, allocations: 43.75 kB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.797e-05/0.3775, allocations: 35.48 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3775, allocations: 8 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.3776, allocations: 0 / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3776, allocations: 0 / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.3795, allocations: 1.195 MB / 1.236 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3795, allocations: 0 / 1.236 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.3797, allocations: 71.83 kB / 1.236 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.3798, allocations: 4 kB / 1.236 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.3798, allocations: 11.98 kB / 1.236 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.3798, allocations: 7.938 kB / 1.236 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3798, allocations: 0 / 1.236 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.381, allocations: 0.759 MB / 1.237 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.164e-05/0.3811, allocations: 112.8 kB / 1.237 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.3811, allocations: 8 kB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.3814, allocations: 35.91 kB / 1.237 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.419e-05/0.3815, allocations: 35.95 kB / 1.237 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.56e-05/0.3815, allocations: 55.81 kB / 1.237 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000199/0.3818, allocations: 199.1 kB / 1.238 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3818, allocations: 0 / 1.238 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005016/0.3823, allocations: 115.9 kB / 1.238 GB, free: 11.52 MB / 0.9981 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.001605/0.3839, allocations: 1.314 MB / 1.239 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.3858, allocations: 1.121 MB / 1.24 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3858, allocations: 0 / 1.24 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006572/0.3864, allocations: 0.5205 MB / 1.24 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/0.3871, allocations: 94.78 kB / 1.241 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007315/0.3944, allocations: 4.662 MB / 1.245 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.3949, allocations: 0.8002 MB / 1.246 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002773/0.3952, allocations: 91.19 kB / 1.246 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.3954, allocations: 115.4 kB / 1.246 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/0.3954, allocations: 0 / 1.246 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6863/1.082, allocations: 9.824 MB / 1.256 GB, free: 29.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/9.179, allocations: 3.062 kB / 1.256 GB, free: 29.66 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches