Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.RealExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.0008368/0.0008368, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.006371/0.006371, allocations: 172.7 kB / 16.26 MB, free: 6.676 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 12 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6285/0.6289, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001649/0.6306, allocations: 1.034 MB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002214/0.6329, allocations: 1.608 MB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.633, allocations: 4 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.6331, allocations: 19.73 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.6333, allocations: 51.62 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.6344, allocations: 475.6 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005499/0.6349, allocations: 0.5661 MB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.6353, allocations: 155.2 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/0.6356, allocations: 199.3 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.6358, allocations: 163.2 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.285e-05/0.6359, allocations: 28 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.636, allocations: 39.98 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.6361, allocations: 59.7 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.6363, allocations: 216.7 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.6369, allocations: 0.6229 MB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6369, allocations: 0 / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6369, allocations: 3.938 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.6369, allocations: 0 / 1.028 GB, free: 10.62 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001041/0.6379, allocations: 0.8611 MB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.638, allocations: 8.031 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.768e-05/0.6381, allocations: 58.73 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.6382, allocations: 52.45 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.6395, allocations: 499.9 kB / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.6396, allocations: 28.92 kB / 1.03 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.6397, allocations: 40.38 kB / 1.03 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006396/0.6403, allocations: 341 kB / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.6403, allocations: 0 / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.6404, allocations: 8 kB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.6404, allocations: 15.98 kB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006647/0.641, allocations: 282 kB / 1.03 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.6425, allocations: 0.9316 MB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/0.6433, allocations: 391.1 kB / 1.032 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/0.6438, allocations: 292.8 kB / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.6439, allocations: 8 kB / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006214/0.6445, allocations: 338.9 kB / 1.032 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.6445, allocations: 0 / 1.032 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.001653/0.6461, allocations: 0.8695 MB / 1.033 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.6463, allocations: 191.9 kB / 1.033 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.6466, allocations: 292.4 kB / 1.034 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.181e-05/0.6467, allocations: 49.58 kB / 1.034 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.6468, allocations: 160.8 kB / 1.034 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.647, allocations: 138.2 kB / 1.034 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.6471, allocations: 65.62 kB / 1.034 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6473, allocations: 346.8 kB / 1.034 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006077/0.6479, allocations: 284.8 kB / 1.035 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/0.6485, allocations: 377.8 kB / 1.035 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.6497, allocations: 0.9323 MB / 1.036 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.6497, allocations: 4 kB / 1.036 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001589/0.6513, allocations: 1.021 MB / 1.037 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.6514, allocations: 261 kB / 1.037 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6515, allocations: 0 / 1.037 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.6515, allocations: 4 kB / 1.037 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.6518, allocations: 79.92 kB / 1.037 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6518, allocations: 4 kB / 1.037 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007829/0.6526, allocations: 191.4 kB / 1.037 GB, free: 0.6875 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.6527, allocations: 71.86 kB / 1.037 GB, free: 0.6172 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0002636/0.653, allocations: 315.7 kB / 1.038 GB, free: 276 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.653, allocations: 39.62 kB / 1.038 GB, free: 236 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.293e-05/0.6531, allocations: 43.48 kB / 1.038 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.6531, allocations: 4 kB / 1.038 GB, free: 188 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6531, allocations: 0 / 1.038 GB, free: 188 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6531, allocations: 0 / 1.038 GB, free: 188 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.6548, allocations: 1.229 MB / 1.039 GB, free: 14.87 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6549, allocations: 4 kB / 1.039 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.6551, allocations: 67.89 kB / 1.039 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.6551, allocations: 3.938 kB / 1.039 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.6552, allocations: 15.98 kB / 1.039 GB, free: 14.78 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.6552, allocations: 7.938 kB / 1.039 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6552, allocations: 4 kB / 1.039 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.6563, allocations: 0.7925 MB / 1.04 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.6564, allocations: 112.6 kB / 1.04 GB, free: 13.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.6565, allocations: 8 kB / 1.04 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.6567, allocations: 43.91 kB / 1.04 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.6568, allocations: 39.88 kB / 1.04 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-05/0.6569, allocations: 51.94 kB / 1.04 GB, free: 13.66 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001902/0.6571, allocations: 195.1 kB / 1.04 GB, free: 13.46 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6571, allocations: 0 / 1.04 GB, free: 13.46 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004427/0.6575, allocations: 111.8 kB / 1.04 GB, free: 13.36 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.001512/0.6591, allocations: 1.348 MB / 1.042 GB, free: 11.95 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.6605, allocations: 1.133 MB / 1.043 GB, free: 10.71 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6606, allocations: 0 / 1.043 GB, free: 10.71 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00062/0.6612, allocations: 0.5363 MB / 1.043 GB, free: 10.11 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.6617, allocations: 84.48 kB / 1.043 GB, free: 10.03 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006569/0.6683, allocations: 4.807 MB / 1.048 GB, free: 5.027 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.6687, allocations: 0.7966 MB / 1.049 GB, free: 4.207 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002555/0.669, allocations: 91.2 kB / 1.049 GB, free: 4.117 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.6691, allocations: 111.4 kB / 1.049 GB, free: 4.008 MB / 0.795 GB Notification: Performance of SimCode: time 9.22e-07/0.6691, allocations: 3.938 kB / 1.049 GB, free: 4.004 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.6899, allocations: 9.094 MB / 1.058 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.6901, allocations: 211.9 kB / 1.058 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.617, allocations: 0 / 1.058 GB, free: 10.89 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches