Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_9_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.001014/0.001015, allocations: 91.84 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.008378/0.008378, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003751, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7751/0.7755, allocations: 142.4 MB / 0.9552 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.0009591/0.7765, allocations: 0.7564 MB / 0.9559 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.7778, allocations: 1.333 MB / 0.9572 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.7778, allocations: 3 kB / 0.9572 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.055e-05/0.7779, allocations: 7.875 kB / 0.9572 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.777e-05/0.778, allocations: 27.69 kB / 0.9573 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.7785, allocations: 256 kB / 0.9575 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.7787, allocations: 303.3 kB / 0.9578 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.7789, allocations: 70.97 kB / 0.9579 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.779, allocations: 104.1 kB / 0.958 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.7791, allocations: 94.77 kB / 0.9581 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.7791, allocations: 15.97 kB / 0.9581 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.7792, allocations: 27.67 kB / 0.9581 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.7793, allocations: 32.14 kB / 0.9581 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.39e-05/0.7794, allocations: 128 kB / 0.9582 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.7796, allocations: 341 kB / 0.9586 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.7796, allocations: 0 / 0.9586 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7796, allocations: 0 / 0.9586 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.7796, allocations: 0 / 0.9586 GB, free: 5.027 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006362/0.7803, allocations: 0.6017 MB / 0.9592 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.7803, allocations: 9.625 kB / 0.9592 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.7803, allocations: 44.23 kB / 0.9592 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/0.7804, allocations: 27.47 kB / 0.9592 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.7806, allocations: 264 kB / 0.9595 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.7806, allocations: 17.64 kB / 0.9595 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.7807, allocations: 19.19 kB / 0.9595 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.7811, allocations: 207.7 kB / 0.9597 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.7811, allocations: 0 / 0.9597 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.7812, allocations: 5.281 kB / 0.9597 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.7812, allocations: 7.844 kB / 0.9597 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000522/0.7817, allocations: 201.8 kB / 0.9599 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008577/0.7826, allocations: 0.645 MB / 0.9606 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.783, allocations: 212.5 kB / 0.9608 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.7833, allocations: 153.8 kB / 0.9609 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.7833, allocations: 5.75 kB / 0.9609 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003821/0.7837, allocations: 218.8 kB / 0.9611 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 2.235e-06/0.7837, allocations: 4 kB / 0.9611 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001017/0.7848, allocations: 0.4983 MB / 0.9616 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.7848, allocations: 106.2 kB / 0.9617 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.785, allocations: 215.8 kB / 0.9619 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.785, allocations: 34.83 kB / 0.962 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.7851, allocations: 128 kB / 0.9621 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.7851, allocations: 54.62 kB / 0.9621 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.7852, allocations: 31.98 kB / 0.9622 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.7852, allocations: 335.9 kB / 0.9625 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.7856, allocations: 172.9 kB / 0.9626 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.786, allocations: 215.9 kB / 0.9628 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.7867, allocations: 497.7 kB / 0.9633 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7867, allocations: 4 kB / 0.9633 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009137/0.7876, allocations: 0.5589 MB / 0.9639 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.7877, allocations: 129.3 kB / 0.964 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7877, allocations: 1.031 kB / 0.964 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.7877, allocations: 10.39 kB / 0.964 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.7879, allocations: 39.47 kB / 0.964 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.7879, allocations: 2.438 kB / 0.964 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.7883, allocations: 114.5 kB / 0.9642 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.7884, allocations: 39.8 kB / 0.9642 GB, free: 0.8242 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.00011/0.7885, allocations: 205.3 kB / 0.9644 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.7885, allocations: 25.44 kB / 0.9644 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.7886, allocations: 19.69 kB / 0.9644 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7886, allocations: 0 / 0.9644 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7886, allocations: 3.812 kB / 0.9644 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7886, allocations: 3.984 kB / 0.9644 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008423/0.7895, allocations: 0.7149 MB / 0.9651 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7895, allocations: 0 / 0.9651 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.7896, allocations: 46.42 kB / 0.9652 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.7896, allocations: 1 kB / 0.9652 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.7897, allocations: 11.41 kB / 0.9652 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7897, allocations: 1.312 kB / 0.9652 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7897, allocations: 0 / 0.9652 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000849/0.7905, allocations: 0.4895 MB / 0.9657 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.7906, allocations: 97.89 kB / 0.9658 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.7906, allocations: 1.938 kB / 0.9658 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.7909, allocations: 34.72 kB / 0.9658 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.7909, allocations: 19.47 kB / 0.9658 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.791, allocations: 25.97 kB / 0.9658 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001211/0.7911, allocations: 152 kB / 0.966 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7911, allocations: 0 / 0.966 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000308/0.7914, allocations: 61.8 kB / 0.966 GB, free: 15.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.00107/0.7925, allocations: 1.035 MB / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009682/0.7935, allocations: 0.5974 MB / 0.9676 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7935, allocations: 0 / 0.9676 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.7939, allocations: 264.3 kB / 0.9679 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.7943, allocations: 47.11 kB / 0.9679 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004252/0.7986, allocations: 3.12 MB / 0.971 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.7989, allocations: 0.7402 MB / 0.9717 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.799, allocations: 42.09 kB / 0.9717 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-05/0.7991, allocations: 52.64 kB / 0.9718 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7991, allocations: 0 / 0.9718 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.818, allocations: 5.164 MB / 0.9768 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000288/0.8184, allocations: 219.4 kB / 0.9771 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.611, allocations: 0 / 0.9771 GB, free: 8.176 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches