Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_11_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.008402/0.008402, allocations: 100.8 kB / 15.73 MB, free: 5.988 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.001677/0.001677, allocations: 186.2 kB / 16.67 MB, free: 5.914 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.664/1.664, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.932/2.932, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 71.89 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3891, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002578/0.3918, allocations: 1.002 MB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3939, allocations: 1.33 MB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.3941, allocations: 7.938 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.3942, allocations: 15.8 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.3944, allocations: 47.56 kB / 1.223 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000932/0.3953, allocations: 283.2 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005274/0.3958, allocations: 395.3 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.396, allocations: 65.66 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.3963, allocations: 151.7 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.3966, allocations: 139.5 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.649e-05/0.3967, allocations: 36 kB / 1.224 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.3968, allocations: 51.98 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.397, allocations: 55.83 kB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.3972, allocations: 139.4 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.3977, allocations: 402.6 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3978, allocations: 3.938 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3978, allocations: 4 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.3978, allocations: 0 / 1.224 GB, free: 10.22 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001189/0.399, allocations: 0.6225 MB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.399, allocations: 8.031 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.483e-05/0.3991, allocations: 50.73 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.3992, allocations: 32.73 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.4002, allocations: 375 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.4003, allocations: 12.38 kB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.4003, allocations: 20.38 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006037/0.4009, allocations: 214.6 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4009, allocations: 0 / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.401, allocations: 4 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.401, allocations: 4 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000529/0.4015, allocations: 147.7 kB / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.403, allocations: 0.9149 MB / 1.226 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.4035, allocations: 145 kB / 1.227 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.4037, allocations: 88.23 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.4038, allocations: 3.938 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004413/0.4042, allocations: 175.5 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 2.184e-06/0.4042, allocations: 0 / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0009448/0.4052, allocations: 253.5 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.4053, allocations: 166.1 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.4056, allocations: 225 kB / 1.227 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.4056, allocations: 29.7 kB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.4058, allocations: 156.5 kB / 1.228 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.4058, allocations: 35.73 kB / 1.228 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.406, allocations: 57.69 kB / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002416/0.4062, allocations: 334.8 kB / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.4066, allocations: 99.91 kB / 1.228 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.407, allocations: 173.4 kB / 1.228 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006471/0.4076, allocations: 270.9 kB / 1.229 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4077, allocations: 0 / 1.229 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009506/0.4086, allocations: 376.8 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.086e-05/0.4087, allocations: 65.42 kB / 1.229 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.4087, allocations: 4 kB / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4087, allocations: 0 / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.4089, allocations: 35.91 kB / 1.229 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.4089, allocations: 4 kB / 1.229 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.4095, allocations: 87.88 kB / 1.229 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.4095, allocations: 15.98 kB / 1.229 GB, free: 4.625 MB / 0.9825 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.0001953/0.4097, allocations: 149.7 kB / 1.229 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.4098, allocations: 19.86 kB / 1.229 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.361e-05/0.4098, allocations: 25.23 kB / 1.229 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.4099, allocations: 7.938 kB / 1.229 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4099, allocations: 0 / 1.229 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4099, allocations: 4 kB / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.4102, allocations: 265.4 kB / 1.23 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4102, allocations: 0 / 1.23 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.4103, allocations: 27.97 kB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.4103, allocations: 4 kB / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4104, allocations: 0 / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.4104, allocations: 4 kB / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4104, allocations: 0 / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.4111, allocations: 244.2 kB / 1.23 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/0.4112, allocations: 93.02 kB / 1.23 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.4112, allocations: 4 kB / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.4113, allocations: 15.97 kB / 1.23 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.4114, allocations: 15.98 kB / 1.23 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.4114, allocations: 12.41 kB / 1.23 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002232/0.4117, allocations: 160.5 kB / 1.23 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4117, allocations: 11.88 kB / 1.23 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003134/0.412, allocations: 51.89 kB / 1.23 GB, free: 3.418 MB / 0.9825 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.001452/0.4135, allocations: 0.784 MB / 1.231 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.4147, allocations: 346.5 kB / 1.231 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4147, allocations: 0 / 1.231 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.4152, allocations: 75.88 kB / 1.231 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005614/0.4158, allocations: 56.95 kB / 1.231 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006365/0.4222, allocations: 2.57 MB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.4228, allocations: 0.7398 MB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002534/0.4231, allocations: 41.52 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.4233, allocations: 63.41 kB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.4233, allocations: 0 / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/0.465, allocations: 5.344 MB / 1.24 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/8.836, allocations: 5.938 kB / 1.24 GB, free: 9.301 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches