Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_10_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.01606/0.01606, allocations: 99.77 kB / 15.73 MB, free: 6.004 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.002465/0.002465, allocations: 192.6 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.071/2.071, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.405/4.405, allocations: 437 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 67.89 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29/1.293, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003206/1.296, allocations: 1.016 MB / 1.167 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002591/1.299, allocations: 1.331 MB / 1.168 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/1.299, allocations: 4 kB / 1.168 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001606/1.299, allocations: 23.73 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/1.299, allocations: 35.66 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009267/1.3, allocations: 268.7 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005874/1.301, allocations: 399.3 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/1.301, allocations: 61.66 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/1.301, allocations: 163.6 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/1.301, allocations: 127.5 kB / 1.169 GB, free: 312 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.775e-05/1.301, allocations: 36 kB / 1.17 GB, free: 276 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/1.302, allocations: 63.89 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/1.302, allocations: 51.84 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000203/1.302, allocations: 139.4 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000634/1.303, allocations: 406.3 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/1.303, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.875e-06/1.303, allocations: 3.938 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.56e-05/1.303, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 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.001309/1.304, allocations: 0.6303 MB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/1.304, allocations: 12.92 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.692e-05/1.304, allocations: 42.75 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/1.304, allocations: 32.78 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/1.305, allocations: 375 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/1.305, allocations: 12.38 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/1.305, allocations: 20.38 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/1.306, allocations: 214.1 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.306, allocations: 0 / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/1.306, allocations: 8 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.306, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005623/1.307, allocations: 147.8 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/1.308, allocations: 0.9109 MB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/1.308, allocations: 149.1 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/1.309, allocations: 72.25 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/1.309, allocations: 11.92 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006485/1.31, allocations: 175.5 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 2.836e-06/1.31, allocations: 0 / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.001463/1.311, allocations: 258 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/1.311, allocations: 158.2 kB / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/1.312, allocations: 221 kB / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.86e-05/1.312, allocations: 29.7 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/1.312, allocations: 160.2 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/1.312, allocations: 35.72 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/1.312, allocations: 57.69 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000249/1.313, allocations: 342.8 kB / 1.174 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/1.313, allocations: 95.92 kB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/1.314, allocations: 177.3 kB / 1.174 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/1.315, allocations: 266.9 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/1.315, allocations: 4 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00146/1.316, allocations: 376.6 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.793e-05/1.316, allocations: 63.39 kB / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/1.316, allocations: 4 kB / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/1.316, allocations: 8.219 kB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/1.317, allocations: 27.97 kB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/1.317, allocations: 7.938 kB / 1.175 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007804/1.318, allocations: 83.84 kB / 1.175 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/1.318, allocations: 16 kB / 1.175 GB, free: 10.03 MB / 0.9044 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.0003243/1.318, allocations: 157.6 kB / 1.175 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/1.318, allocations: 27.8 kB / 1.175 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.575e-05/1.318, allocations: 21.23 kB / 1.175 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.318, allocations: 4 kB / 1.175 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.318, allocations: 0 / 1.175 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.318, allocations: 4 kB / 1.175 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/1.319, allocations: 253.5 kB / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.319, allocations: 3.984 kB / 1.176 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/1.319, allocations: 27.92 kB / 1.176 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/1.319, allocations: 4 kB / 1.176 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/1.319, allocations: 7.984 kB / 1.176 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/1.319, allocations: 0 / 1.176 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.319, allocations: 0 / 1.176 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009264/1.32, allocations: 240.2 kB / 1.176 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/1.32, allocations: 97.02 kB / 1.176 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/1.32, allocations: 0 / 1.176 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/1.32, allocations: 23.97 kB / 1.176 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/1.32, allocations: 15.92 kB / 1.176 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/1.32, allocations: 11.94 kB / 1.176 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002476/1.321, allocations: 160.5 kB / 1.176 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.321, allocations: 0 / 1.176 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005717/1.321, allocations: 55.89 kB / 1.176 GB, free: 8.82 MB / 0.9044 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.001539/1.323, allocations: 0.7874 MB / 1.177 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001277/1.324, allocations: 334.7 kB / 1.177 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.324, allocations: 4 kB / 1.177 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004164/1.325, allocations: 79.86 kB / 1.177 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006202/1.325, allocations: 58.48 kB / 1.177 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006384/1.332, allocations: 2.569 MB / 1.18 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/1.332, allocations: 0.7481 MB / 1.181 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002331/1.332, allocations: 41.5 kB / 1.181 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/1.333, allocations: 67.42 kB / 1.181 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of SimCode: time 1.112e-06/1.333, allocations: 0 / 1.181 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04866/1.381, allocations: 5.344 MB / 1.186 GB, free: 14.72 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/14.2, allocations: 11.52 kB / 1.186 GB, free: 14.71 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches