Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_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.009081/0.009081, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.00203/0.00203, allocations: 189.1 kB / 16.68 MB, free: 6.367 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.671/1.671, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.976/2.976, allocations: 472.7 MB / 0.7453 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001762, allocations: 67.88 kB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3762, allocations: 159.9 MB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002428/0.3786, allocations: 1.006 MB / 1.226 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.3808, allocations: 1.33 MB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.381, allocations: 4 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.3811, allocations: 23.73 kB / 1.228 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.3813, allocations: 43.66 kB / 1.228 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009331/0.3822, allocations: 278 kB / 1.228 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004843/0.3827, allocations: 407.2 kB / 1.228 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.3829, allocations: 73.52 kB / 1.228 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.3832, allocations: 143.7 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.3834, allocations: 135.5 kB / 1.229 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.004e-05/0.3835, allocations: 32 kB / 1.229 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3837, allocations: 59.95 kB / 1.229 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.22e-05/0.3838, allocations: 55.84 kB / 1.229 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.3839, allocations: 147.3 kB / 1.229 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.3844, allocations: 398.5 kB / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3844, allocations: 3.938 kB / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3844, allocations: 0 / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.3844, allocations: 4 kB / 1.229 GB, free: 5.512 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.001137/0.3856, allocations: 0.6264 MB / 1.23 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3856, allocations: 12.03 kB / 1.23 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.575e-05/0.3857, allocations: 50.67 kB / 1.23 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.45e-05/0.3858, allocations: 28.8 kB / 1.23 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009399/0.3868, allocations: 378.9 kB / 1.23 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.3868, allocations: 12.38 kB / 1.23 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.3869, allocations: 24.31 kB / 1.23 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.3873, allocations: 210.2 kB / 1.231 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3873, allocations: 0 / 1.231 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.3873, allocations: 8 kB / 1.231 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3874, allocations: 4 kB / 1.231 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.3878, allocations: 143.7 kB / 1.231 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.3889, allocations: 0.9111 MB / 1.232 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.3893, allocations: 149 kB / 1.232 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.3895, allocations: 80.23 kB / 1.232 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.3896, allocations: 8 kB / 1.232 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003973/0.39, allocations: 167.5 kB / 1.232 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 3.377e-06/0.39, allocations: 3.984 kB / 1.232 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0008887/0.3909, allocations: 257.6 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.391, allocations: 162.2 kB / 1.232 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.3912, allocations: 221 kB / 1.233 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.3912, allocations: 37.7 kB / 1.233 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3914, allocations: 148.3 kB / 1.233 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.3914, allocations: 39.72 kB / 1.233 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.3915, allocations: 57.78 kB / 1.233 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3916, allocations: 338.8 kB / 1.233 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.392, allocations: 95.92 kB / 1.233 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.3923, allocations: 173.3 kB / 1.233 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/0.3929, allocations: 274.9 kB / 1.234 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3929, allocations: 4 kB / 1.234 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008456/0.3938, allocations: 364.6 kB / 1.234 GB, free: 140 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.3939, allocations: 75.61 kB / 1.234 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3939, allocations: 0 / 1.234 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3939, allocations: 4 kB / 1.234 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.3941, allocations: 27.91 kB / 1.234 GB, free: 20 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3941, allocations: 4 kB / 1.234 GB, free: 16 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.3946, allocations: 87.84 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.3946, allocations: 16 kB / 1.234 GB, free: 15.91 MB / 0.9981 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.0001424/0.3948, allocations: 163.7 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.3948, allocations: 19.86 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.3949, allocations: 21.23 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3949, allocations: 4 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3949, allocations: 0 / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3949, allocations: 8 kB / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.3952, allocations: 265.4 kB / 1.235 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3952, allocations: 0 / 1.235 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.3953, allocations: 23.98 kB / 1.235 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.3953, allocations: 3.984 kB / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3953, allocations: 4 kB / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3953, allocations: 0 / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3953, allocations: 0 / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.3959, allocations: 248.1 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.396, allocations: 97.02 kB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.396, allocations: 0 / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.3961, allocations: 23.97 kB / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.3962, allocations: 11.98 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3962, allocations: 11.94 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001261/0.3963, allocations: 164.4 kB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3964, allocations: 0 / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003037/0.3967, allocations: 55.89 kB / 1.235 GB, free: 14.7 MB / 0.9981 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.000858/0.3975, allocations: 0.7874 MB / 1.236 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007515/0.3983, allocations: 335.1 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3983, allocations: 0 / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.3986, allocations: 79.88 kB / 1.236 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.3989, allocations: 54.56 kB / 1.237 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.4027, allocations: 2.559 MB / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.403, allocations: 0.7437 MB / 1.24 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.4031, allocations: 41.52 kB / 1.24 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.4032, allocations: 63.42 kB / 1.24 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of SimCode: time 1.874e-06/0.4032, allocations: 0 / 1.24 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.4281, allocations: 5.356 MB / 1.245 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.415, allocations: 7.375 kB / 1.245 GB, free: 4.609 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches