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.001538/0.001538, 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.001768/0.001768, allocations: 197 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.543/2.543, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 59.91 kB / 0.8694 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5733/0.5747, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002008/0.5767, allocations: 0.9933 MB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.5783, allocations: 1.331 MB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.5784, allocations: 7.938 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.5785, allocations: 19.8 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.576e-05/0.5786, allocations: 35.66 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007375/0.5794, allocations: 263.9 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000365/0.5797, allocations: 395.3 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.5799, allocations: 77.5 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.5801, allocations: 151.6 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.5804, allocations: 143.5 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.766e-05/0.5805, allocations: 35.94 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.5806, allocations: 55.92 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.5806, allocations: 51.84 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.5808, allocations: 139.4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.5811, allocations: 377.1 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.5811, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5811, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.5811, allocations: 4 kB / 1.021 GB, free: 14.43 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.0008265/0.582, allocations: 0.607 MB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.582, allocations: 15.98 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/0.5821, allocations: 50.67 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.5821, allocations: 28.66 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008714/0.583, allocations: 370.8 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.5831, allocations: 16.36 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.5831, allocations: 20.38 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.5835, allocations: 203.1 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5835, allocations: 7.938 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.5836, allocations: 4 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.5836, allocations: 7.984 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.584, allocations: 147.7 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009748/0.585, allocations: 0.9108 MB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.5853, allocations: 149 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.5856, allocations: 84.23 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.5856, allocations: 0 / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003458/0.5859, allocations: 167.5 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 2.565e-06/0.586, allocations: 4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0008228/0.5868, allocations: 249.5 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.5869, allocations: 170.2 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.587, allocations: 224.9 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.5871, allocations: 33.7 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.5872, allocations: 148.4 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.5872, allocations: 31.55 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.535e-05/0.5873, allocations: 53.69 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.5874, allocations: 338.8 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.5877, allocations: 99.92 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.5881, allocations: 155.6 kB / 1.026 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.5886, allocations: 270.9 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5886, allocations: 0 / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007997/0.5894, allocations: 376.4 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.5895, allocations: 63.41 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.5895, allocations: 4 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5895, allocations: 7.938 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.5897, allocations: 28.12 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5897, allocations: 11.98 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.5901, allocations: 67.86 kB / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.5901, allocations: 19.92 kB / 1.026 GB, free: 8.902 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.0001319/0.5903, allocations: 155.3 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.5903, allocations: 19.72 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.5904, allocations: 25.23 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.5904, allocations: 0 / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5904, allocations: 8 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5904, allocations: 0 / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.5906, allocations: 257.5 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5906, allocations: 4 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.5907, allocations: 27.97 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.5907, allocations: 4 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.5908, allocations: 4 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.5908, allocations: 0 / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5908, allocations: 4 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.5913, allocations: 236.1 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.5914, allocations: 100.8 kB / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.5914, allocations: 7.984 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.5915, allocations: 15.92 kB / 1.027 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.5916, allocations: 19.98 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.5916, allocations: 15.92 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001146/0.5917, allocations: 156.4 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5917, allocations: 4 kB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002701/0.592, allocations: 47.89 kB / 1.027 GB, free: 7.703 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.0007815/0.5928, allocations: 0.7776 MB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006932/0.5935, allocations: 346.5 kB / 1.028 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5935, allocations: 448 / 1.028 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.5938, allocations: 79.88 kB / 1.029 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.5941, allocations: 52.27 kB / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.5974, allocations: 2.558 MB / 1.031 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.5977, allocations: 0.7514 MB / 1.032 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.5978, allocations: 37.53 kB / 1.032 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.5979, allocations: 63.41 kB / 1.032 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5979, allocations: 0 / 1.032 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.6301, allocations: 5.138 MB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.502/9.132, allocations: 7.938 kB / 1.037 GB, free: 13.78 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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