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.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.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.001388/0.001388, allocations: 108 kB / 15.61 MB, free: 152 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.001585/0.001586, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.423/1.423, 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.87/2.87, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 64.38 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3179, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002353/0.3203, allocations: 1.012 MB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3221, allocations: 1.335 MB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.841e-05/0.3222, allocations: 4 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.3223, allocations: 19.73 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.3224, allocations: 35.66 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007682/0.3232, allocations: 268.6 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.3236, allocations: 403.2 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.3238, allocations: 61.66 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.3241, allocations: 155.7 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.3244, allocations: 147.5 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.611e-05/0.3245, allocations: 36 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3246, allocations: 47.98 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.953e-05/0.3247, allocations: 55.78 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.3248, allocations: 135.4 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.3252, allocations: 375.1 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3252, allocations: 4 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3252, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.3252, allocations: 0 / 1.068 GB, free: 10.45 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009435/0.3262, allocations: 0.6109 MB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3262, allocations: 12.03 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.3263, allocations: 46.73 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.3264, allocations: 28.66 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009789/0.3274, allocations: 370.8 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.3274, allocations: 16.36 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.3275, allocations: 20.38 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.3279, allocations: 207.4 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3279, allocations: 0 / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.328, allocations: 4 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.328, allocations: 4 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005255/0.3285, allocations: 143.8 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.3297, allocations: 0.9186 MB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.3301, allocations: 149 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.3303, allocations: 84.3 kB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3304, allocations: 3.938 kB / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004287/0.3308, allocations: 163.5 kB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.864e-06/0.3308, allocations: 4 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0009/0.3317, allocations: 257.1 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.3318, allocations: 158.6 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.332, allocations: 225 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.3321, allocations: 29.7 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3322, allocations: 156.1 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.3322, allocations: 31.62 kB / 1.071 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.3323, allocations: 53.62 kB / 1.071 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3324, allocations: 330.8 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.3328, allocations: 107.8 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.3332, allocations: 164.7 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006055/0.3338, allocations: 278.9 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3338, allocations: 4 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008825/0.3347, allocations: 369 kB / 1.072 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/0.3348, allocations: 63.41 kB / 1.072 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3348, allocations: 4 kB / 1.072 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.3348, allocations: 4 kB / 1.072 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.335, allocations: 23.97 kB / 1.072 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.335, allocations: 8.156 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.3354, allocations: 71.81 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.3355, allocations: 19.98 kB / 1.073 GB, free: 4.926 MB / 0.8262 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.0001394/0.3356, allocations: 155.5 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.3357, allocations: 19.81 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.3357, allocations: 25.23 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3357, allocations: 4 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3357, allocations: 0 / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3358, allocations: 0 / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.336, allocations: 253.5 kB / 1.073 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.336, allocations: 4 kB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.3361, allocations: 27.91 kB / 1.073 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3362, allocations: 0 / 1.073 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.3362, allocations: 16 kB / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3362, allocations: 4 kB / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3362, allocations: 0 / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/0.3368, allocations: 244 kB / 1.073 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.3369, allocations: 88.92 kB / 1.073 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.3369, allocations: 11.94 kB / 1.073 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3371, allocations: 15.97 kB / 1.073 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.3371, allocations: 19.98 kB / 1.073 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.3371, allocations: 7.938 kB / 1.073 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001406/0.3373, allocations: 164.5 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3373, allocations: 0 / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003074/0.3376, allocations: 51.83 kB / 1.074 GB, free: 3.719 MB / 0.8262 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.0008905/0.3385, allocations: 0.7799 MB / 1.074 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007729/0.3393, allocations: 338.7 kB / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3393, allocations: 0 / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.3396, allocations: 84.25 kB / 1.075 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.34, allocations: 52.28 kB / 1.075 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.3438, allocations: 2.534 MB / 1.077 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.3441, allocations: 0.7476 MB / 1.078 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000153/0.3443, allocations: 33.53 kB / 1.078 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.452e-05/0.3444, allocations: 67.41 kB / 1.078 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of SimCode: time 3.4e-07/0.3444, allocations: 0 / 1.078 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.3679, allocations: 5.139 MB / 1.083 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/8.204, allocations: 15.03 kB / 1.083 GB, free: 9.852 MB / 0.8419 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