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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001294/0.001294, allocations: 108 kB / 15.6 MB, free: 132 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.00113/0.001131, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.504/1.504, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.938/2.938, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 66.06 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3194, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002585/0.322, allocations: 1.341 MB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3239, allocations: 1.556 MB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.324, allocations: 4 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.3242, allocations: 31.55 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.3243, allocations: 63.44 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3253, allocations: 0.4948 MB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005733/0.3259, allocations: 0.6755 MB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.3262, allocations: 169.1 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.3265, allocations: 255.4 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.3267, allocations: 215.2 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.702e-05/0.3268, allocations: 64 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.327, allocations: 83.92 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.34e-05/0.327, allocations: 75.75 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.3273, allocations: 250.9 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005709/0.3279, allocations: 0.6621 MB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3279, allocations: 3.984 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3279, allocations: 0 / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.3279, allocations: 0 / 1.069 GB, free: 8.57 MB / 0.8262 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.001099/0.329, allocations: 0.9445 MB / 1.07 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.329, allocations: 8.031 kB / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.844e-05/0.3291, allocations: 66.72 kB / 1.07 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.3292, allocations: 48.47 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.3305, allocations: 471.8 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.3306, allocations: 32.88 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.302e-05/0.3307, allocations: 40.38 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006169/0.3313, allocations: 329.1 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3313, allocations: 0 / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.3314, allocations: 15.94 kB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3314, allocations: 8 kB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006259/0.332, allocations: 250 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.3335, allocations: 0.9237 MB / 1.072 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/0.3341, allocations: 379.1 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/0.3346, allocations: 288.7 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.3346, allocations: 4 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005317/0.3351, allocations: 323 kB / 1.073 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.044e-06/0.3352, allocations: 0 / 1.073 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001462/0.3366, allocations: 0.8342 MB / 1.074 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/0.3367, allocations: 191.9 kB / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.337, allocations: 288.5 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.408e-05/0.3371, allocations: 41.7 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.3372, allocations: 180.7 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.841e-05/0.3373, allocations: 118.3 kB / 1.075 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.3376, allocations: 142.1 kB / 1.075 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3377, allocations: 346.8 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005884/0.3383, allocations: 268.8 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.3389, allocations: 365.8 kB / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.3401, allocations: 0.9128 MB / 1.077 GB, free: 364 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3401, allocations: 0 / 1.077 GB, free: 364 kB / 0.8262 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001622/0.3417, allocations: 0.9938 MB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.3419, allocations: 255.3 kB / 1.078 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3419, allocations: 4 kB / 1.078 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3419, allocations: 4 kB / 1.078 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.3422, allocations: 67.89 kB / 1.078 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3422, allocations: 7.938 kB / 1.078 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/0.3429, allocations: 139.6 kB / 1.078 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.343, allocations: 75.84 kB / 1.079 GB, free: 14.7 MB / 0.8419 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.0002491/0.3433, allocations: 324.3 kB / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.3434, allocations: 39.53 kB / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.018e-05/0.3434, allocations: 43.48 kB / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3435, allocations: 4 kB / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3435, allocations: 0 / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3435, allocations: 0 / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.3451, allocations: 1.202 MB / 1.08 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3451, allocations: 3.938 kB / 1.08 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.3453, allocations: 59.95 kB / 1.08 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3453, allocations: 4 kB / 1.08 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.3454, allocations: 15.98 kB / 1.08 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3454, allocations: 11.88 kB / 1.08 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3454, allocations: 0 / 1.08 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.3465, allocations: 0.7613 MB / 1.081 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.3465, allocations: 112.5 kB / 1.081 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.3466, allocations: 8 kB / 1.081 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.3468, allocations: 35.91 kB / 1.081 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.266e-05/0.3469, allocations: 39.91 kB / 1.081 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/0.347, allocations: 55.88 kB / 1.081 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000171/0.3472, allocations: 203.1 kB / 1.081 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3472, allocations: 0 / 1.081 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00041/0.3476, allocations: 100 kB / 1.081 GB, free: 11.51 MB / 0.8419 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.001365/0.349, allocations: 1.326 MB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001591/0.3506, allocations: 1.206 MB / 1.084 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3506, allocations: 4 kB / 1.084 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005616/0.3511, allocations: 0.5128 MB / 1.084 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.3517, allocations: 92.95 kB / 1.085 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006087/0.3578, allocations: 4.647 MB / 1.089 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.3581, allocations: 0.7924 MB / 1.09 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002556/0.3584, allocations: 103.1 kB / 1.09 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.3585, allocations: 111.4 kB / 1.09 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.3585, allocations: 8 kB / 1.09 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.3899, allocations: 9.734 MB / 1.1 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.202, allocations: 18.48 kB / 1.1 GB, free: 8.68 MB / 0.8575 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