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.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.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.00134/0.00134, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001388/0.001388, allocations: 192.7 kB / 16.25 MB, free: 6.621 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.509/2.509, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.91 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6502/0.6515, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002676/0.6542, allocations: 1.393 MB / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.6562, allocations: 1.537 MB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.6563, allocations: 4 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.6565, allocations: 19.8 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.6567, allocations: 51.56 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.6579, allocations: 474.9 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007207/0.6586, allocations: 0.6833 MB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.6589, allocations: 163.2 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003763/0.6593, allocations: 255.3 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.6596, allocations: 219.1 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.6598, allocations: 64 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.6599, allocations: 83.98 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.719e-05/0.66, allocations: 75.77 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.6603, allocations: 254.9 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.6609, allocations: 0.666 MB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6609, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.542e-06/0.6609, allocations: 3.938 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.6609, allocations: 4 kB / 1.023 GB, free: 12.76 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.001291/0.6622, allocations: 0.9428 MB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6623, allocations: 8.031 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.876e-05/0.6624, allocations: 58.73 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.6625, allocations: 52.47 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.6638, allocations: 487.6 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.6639, allocations: 28.94 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/0.6639, allocations: 44.36 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/0.6646, allocations: 325.1 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.6646, allocations: 0 / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.6646, allocations: 12 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.6646, allocations: 4 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000596/0.6652, allocations: 254 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.6667, allocations: 0.9199 MB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.6673, allocations: 377.2 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.6678, allocations: 286.3 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.6678, allocations: 4 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005701/0.6684, allocations: 323 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 2.304e-06/0.6684, allocations: 0 / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.001467/0.6699, allocations: 0.8342 MB / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.551e-05/0.67, allocations: 199.8 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.6703, allocations: 288.4 kB / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.397e-05/0.6704, allocations: 53.69 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.6705, allocations: 152.9 kB / 1.028 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.6706, allocations: 138.1 kB / 1.028 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.6708, allocations: 134.1 kB / 1.028 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.671, allocations: 350.8 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005492/0.6715, allocations: 268.8 kB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.6722, allocations: 369.8 kB / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.6733, allocations: 0.9127 MB / 1.03 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.6733, allocations: 0 / 1.03 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001711/0.6751, allocations: 0.9936 MB / 1.031 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.6752, allocations: 256.9 kB / 1.031 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.6752, allocations: 4 kB / 1.031 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.6753, allocations: 4 kB / 1.031 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.6756, allocations: 68.17 kB / 1.032 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.6756, allocations: 11.94 kB / 1.032 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/0.6763, allocations: 143.5 kB / 1.032 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.6764, allocations: 71.92 kB / 1.032 GB, free: 2.871 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.0002897/0.6767, allocations: 322.1 kB / 1.032 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.6768, allocations: 43.52 kB / 1.032 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.032e-05/0.6769, allocations: 39.48 kB / 1.032 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6769, allocations: 4 kB / 1.032 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6769, allocations: 4 kB / 1.032 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.6769, allocations: 3.984 kB / 1.032 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.6787, allocations: 1.198 MB / 1.033 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6787, allocations: 3.938 kB / 1.033 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.6789, allocations: 67.89 kB / 1.033 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.679, allocations: 4 kB / 1.033 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.679, allocations: 11.98 kB / 1.033 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.679, allocations: 7.938 kB / 1.033 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.679, allocations: 3.984 kB / 1.033 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.6801, allocations: 0.7652 MB / 1.034 GB, free: 232 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.6802, allocations: 108.7 kB / 1.034 GB, free: 104 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.6802, allocations: 15.98 kB / 1.034 GB, free: 88 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.6804, allocations: 31.91 kB / 1.034 GB, free: 56 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.6805, allocations: 35.95 kB / 1.034 GB, free: 20 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/0.6806, allocations: 51.94 kB / 1.034 GB, free: 15.96 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001797/0.6808, allocations: 199 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6808, allocations: 0 / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004647/0.6813, allocations: 107.8 kB / 1.035 GB, free: 15.67 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.001373/0.6827, allocations: 1.323 MB / 1.036 GB, free: 14.29 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.6843, allocations: 1.195 MB / 1.037 GB, free: 12.98 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6843, allocations: 4 kB / 1.037 GB, free: 12.98 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005494/0.6849, allocations: 0.5169 MB / 1.038 GB, free: 12.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.6854, allocations: 88.47 kB / 1.038 GB, free: 12.31 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006443/0.6919, allocations: 4.748 MB / 1.042 GB, free: 7.371 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.6923, allocations: 0.7963 MB / 1.043 GB, free: 6.551 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002489/0.6925, allocations: 91.2 kB / 1.043 GB, free: 6.461 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.6927, allocations: 115.4 kB / 1.043 GB, free: 6.348 MB / 0.795 GB Notification: Performance of SimCode: time 5.11e-07/0.6927, allocations: 0 / 1.043 GB, free: 6.348 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.7139, allocations: 9.49 MB / 1.053 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.7141, allocations: 207.2 kB / 1.053 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.684, allocations: 0 / 1.053 GB, free: 12.82 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