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.001097/0.001097, allocations: 108 kB / 15.6 MB, free: 132 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.001253/0.001253, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 55.91 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6539/0.6552, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002912/0.6581, allocations: 1.003 MB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.6602, allocations: 1.327 MB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.6603, allocations: 7.938 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.6605, allocations: 15.8 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.6606, allocations: 39.66 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000972/0.6616, allocations: 274.4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005383/0.6622, allocations: 391.2 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.6624, allocations: 69.62 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.6627, allocations: 155.6 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.6631, allocations: 143.5 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.619e-05/0.6632, allocations: 36 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.6633, allocations: 55.92 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.476e-05/0.6634, allocations: 51.84 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.6635, allocations: 139.4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.664, allocations: 373.1 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.664, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.664, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.664, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 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.00105/0.6651, allocations: 0.6149 MB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6651, allocations: 12.03 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.167e-05/0.6652, allocations: 46.67 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.6653, allocations: 32.66 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009504/0.6662, allocations: 370.8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.6663, allocations: 16.38 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.6663, allocations: 24.36 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.6668, allocations: 203.1 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.6668, allocations: 7.922 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.6668, allocations: 8 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.6669, allocations: 4 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.6673, allocations: 139.8 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.6685, allocations: 0.9107 MB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.6689, allocations: 149 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.6691, allocations: 88.23 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.6691, allocations: 0 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/0.6695, allocations: 171.5 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.6695, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0008945/0.6704, allocations: 253.4 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.204e-05/0.6705, allocations: 154.2 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.6708, allocations: 232.9 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.6708, allocations: 29.7 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.6709, allocations: 148.5 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.671, allocations: 39.61 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.6711, allocations: 49.69 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6712, allocations: 338.8 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.6715, allocations: 95.92 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.6719, allocations: 161.7 kB / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005735/0.6725, allocations: 274.9 kB / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6725, allocations: 4 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008298/0.6733, allocations: 368.7 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.303e-05/0.6734, allocations: 71.39 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.6734, allocations: 4 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.6734, allocations: 4 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.6736, allocations: 27.91 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.6736, allocations: 7.984 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.674, allocations: 67.86 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.6741, allocations: 23.92 kB / 1.026 GB, free: 8.91 MB / 0.7794 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.0001432/0.6742, allocations: 149.7 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.6743, allocations: 19.72 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.6743, allocations: 25.23 kB / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6743, allocations: 4 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.6743, allocations: 3.938 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.6744, allocations: 4 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.6746, allocations: 261.5 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6746, allocations: 4 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.6748, allocations: 23.97 kB / 1.027 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.6748, allocations: 4 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.6748, allocations: 0 / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.6748, allocations: 4 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6748, allocations: 0 / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.6754, allocations: 244.6 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.6754, allocations: 96.77 kB / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.6755, allocations: 11.97 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.6756, allocations: 19.92 kB / 1.027 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.6757, allocations: 19.97 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.6757, allocations: 7.938 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001521/0.6759, allocations: 164.5 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6759, allocations: 4 kB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002954/0.6762, allocations: 43.91 kB / 1.027 GB, free: 7.707 MB / 0.7794 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.0008702/0.677, allocations: 0.7755 MB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007405/0.6778, allocations: 342.5 kB / 1.028 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6778, allocations: 0 / 1.028 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.6781, allocations: 75.88 kB / 1.029 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.6784, allocations: 61.06 kB / 1.029 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.6821, allocations: 2.554 MB / 1.031 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.6824, allocations: 0.7513 MB / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000137/0.6826, allocations: 41.52 kB / 1.032 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.6827, allocations: 59.42 kB / 1.032 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/0.6827, allocations: 0 / 1.032 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.7077, allocations: 5.13 MB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.009/7.717, allocations: 11.75 kB / 1.037 GB, free: 13.8 MB / 0.795 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