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 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.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.007949/0.007949, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001846/0.001846, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.391/1.391, 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.963/2.963, allocations: 469.4 MB / 0.7422 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 67.89 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3646, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002336/0.367, allocations: 1.015 MB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.369, allocations: 1.326 MB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.3691, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.3693, allocations: 19.73 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.3694, allocations: 47.66 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008466/0.3703, allocations: 271.6 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004888/0.3708, allocations: 399.3 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.371, allocations: 65.66 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.3713, allocations: 155.6 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.3715, allocations: 139.5 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.677e-05/0.3716, allocations: 35.94 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.3718, allocations: 59.97 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.3718, allocations: 59.78 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.372, allocations: 139.4 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004624/0.3725, allocations: 402.5 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3725, allocations: 4 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3725, allocations: 0 / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.3725, allocations: 0 / 1.224 GB, free: 10.57 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.001126/0.3737, allocations: 0.6303 MB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3737, allocations: 8.031 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.793e-05/0.3738, allocations: 42.73 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.842e-05/0.3739, allocations: 28.8 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009929/0.3749, allocations: 382.9 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.3749, allocations: 16.38 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.375, allocations: 20.38 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.3754, allocations: 206.6 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3755, allocations: 8 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.3755, allocations: 4 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.3755, allocations: 4 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004864/0.376, allocations: 139.8 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.3772, allocations: 0.9109 MB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.3775, allocations: 156.9 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.3778, allocations: 76.31 kB / 1.226 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.3778, allocations: 0 / 1.226 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004462/0.3782, allocations: 175.4 kB / 1.226 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.3782, allocations: 0 / 1.226 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0008909/0.3791, allocations: 257.3 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.3792, allocations: 162.6 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.3795, allocations: 229 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.3795, allocations: 29.7 kB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3796, allocations: 156.4 kB / 1.227 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.3797, allocations: 31.73 kB / 1.227 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3798, allocations: 61.67 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3799, allocations: 334.8 kB / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.3803, allocations: 99.92 kB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.3807, allocations: 182.8 kB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005942/0.3813, allocations: 274.9 kB / 1.228 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3813, allocations: 0 / 1.228 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009015/0.3822, allocations: 372.6 kB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.3823, allocations: 63.39 kB / 1.229 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3823, allocations: 0 / 1.229 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3823, allocations: 7.938 kB / 1.229 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.3825, allocations: 32.19 kB / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3825, allocations: 7.938 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.383, allocations: 83.86 kB / 1.229 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.3831, allocations: 15.98 kB / 1.229 GB, free: 4.977 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.0001554/0.3832, allocations: 154.2 kB / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.3833, allocations: 23.84 kB / 1.229 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.3833, allocations: 21.25 kB / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3833, allocations: 0 / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3834, allocations: 4 kB / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3834, allocations: 3.984 kB / 1.229 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.3836, allocations: 261.4 kB / 1.229 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.3837, allocations: 4 kB / 1.229 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.3838, allocations: 27.91 kB / 1.229 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3838, allocations: 4 kB / 1.229 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3838, allocations: 4 kB / 1.229 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.3838, allocations: 3.984 kB / 1.229 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3838, allocations: 4 kB / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.3845, allocations: 236.2 kB / 1.229 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.3846, allocations: 97 kB / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.3846, allocations: 4 kB / 1.23 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.3847, allocations: 15.97 kB / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.3848, allocations: 27.92 kB / 1.23 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3848, allocations: 11.94 kB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001307/0.385, allocations: 156.5 kB / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.385, allocations: 4 kB / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003181/0.3853, allocations: 51.89 kB / 1.23 GB, free: 3.762 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.0009763/0.3863, allocations: 0.7796 MB / 1.231 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007865/0.3871, allocations: 335 kB / 1.231 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3871, allocations: 448 / 1.231 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.3874, allocations: 79.88 kB / 1.231 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3878, allocations: 52.83 kB / 1.231 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.3919, allocations: 2.568 MB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.3923, allocations: 0.7515 MB / 1.234 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001353/0.3924, allocations: 29.53 kB / 1.234 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.3925, allocations: 67.41 kB / 1.234 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/0.3925, allocations: 0 / 1.234 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.4181, allocations: 5.357 MB / 1.24 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.263, allocations: 13.59 kB / 1.24 GB, free: 9.672 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