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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001753/0.001753, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001941/0.001942, allocations: 186.1 kB / 16.25 MB, free: 6.141 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.633/1.633, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.469/2.469, allocations: 390.3 MB / 0.6644 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001709, allocations: 63.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7686/0.7703, allocations: 140.4 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001972/0.7723, allocations: 1.104 MB / 0.9503 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.7737, allocations: 1.298 MB / 0.9516 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.089e-05/0.7738, allocations: 6.688 kB / 0.9516 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.7739, allocations: 11.86 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.51e-05/0.774, allocations: 30.69 kB / 0.9516 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.7747, allocations: 258.3 kB / 0.9519 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.775, allocations: 360 kB / 0.9522 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.7752, allocations: 77.25 kB / 0.9523 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.7754, allocations: 136.1 kB / 0.9524 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.7755, allocations: 125 kB / 0.9525 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.7756, allocations: 33.78 kB / 0.9526 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.7757, allocations: 47.52 kB / 0.9526 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.7758, allocations: 41.5 kB / 0.9527 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.7759, allocations: 127.5 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.7762, allocations: 354.5 kB / 0.9531 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7763, allocations: 5.188 kB / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7763, allocations: 0 / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.7763, allocations: 0 / 0.9531 GB, free: 6.176 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.0008722/0.7772, allocations: 0.639 MB / 0.9538 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.7772, allocations: 9.469 kB / 0.9538 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.7772, allocations: 43.5 kB / 0.9538 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.502e-05/0.7773, allocations: 31.64 kB / 0.9538 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.7776, allocations: 259.9 kB / 0.9541 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.7776, allocations: 17.28 kB / 0.9541 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.7777, allocations: 19.38 kB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.7781, allocations: 197.3 kB / 0.9543 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.7781, allocations: 0 / 0.9543 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.7781, allocations: 5.25 kB / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.7782, allocations: 2.906 kB / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004991/0.7787, allocations: 166.2 kB / 0.9545 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009049/0.7796, allocations: 0.6412 MB / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.7801, allocations: 194.3 kB / 0.9553 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.7804, allocations: 135 kB / 0.9554 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.7805, allocations: 1.062 kB / 0.9554 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000457/0.7809, allocations: 195.4 kB / 0.9556 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.834e-06/0.781, allocations: 0 / 0.9556 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001145/0.7821, allocations: 471.4 kB / 0.956 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.7822, allocations: 110 kB / 0.9562 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.7824, allocations: 208.5 kB / 0.9564 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.7824, allocations: 35.08 kB / 0.9564 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.7825, allocations: 127.1 kB / 0.9565 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.7826, allocations: 54.38 kB / 0.9566 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.7827, allocations: 69.59 kB / 0.9566 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.839e-05/0.7828, allocations: 331.7 kB / 0.9569 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.7832, allocations: 157.5 kB / 0.9571 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.7836, allocations: 205.6 kB / 0.9573 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007591/0.7844, allocations: 459.7 kB / 0.9577 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7844, allocations: 1.469 kB / 0.9577 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001171/0.7856, allocations: 0.5353 MB / 0.9583 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.7857, allocations: 129.5 kB / 0.9584 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.7857, allocations: 5.062 kB / 0.9584 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.7857, allocations: 2.531 kB / 0.9584 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.7859, allocations: 35.69 kB / 0.9584 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.7859, allocations: 1.719 kB / 0.9584 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.7864, allocations: 88.89 kB / 0.9585 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/0.7865, allocations: 27.53 kB / 0.9585 GB, free: 1.969 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.0001457/0.7866, allocations: 206.5 kB / 0.9587 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.7866, allocations: 21.53 kB / 0.9587 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.7867, allocations: 26.2 kB / 0.9588 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.7867, allocations: 1.906 kB / 0.9588 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.7867, allocations: 0.8125 kB / 0.9588 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7867, allocations: 4 kB / 0.9588 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.7877, allocations: 0.6953 MB / 0.9595 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7878, allocations: 0 / 0.9595 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.7879, allocations: 30.97 kB / 0.9595 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.7879, allocations: 5.062 kB / 0.9595 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.788, allocations: 7.156 kB / 0.9595 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.788, allocations: 0.75 kB / 0.9595 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.788, allocations: 0 / 0.9595 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007536/0.7887, allocations: 464.3 kB / 0.9599 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.7888, allocations: 102.2 kB / 0.96 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.7888, allocations: 6.375 kB / 0.96 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.789, allocations: 23.58 kB / 0.9601 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.7891, allocations: 19.23 kB / 0.9601 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.7892, allocations: 25.34 kB / 0.9601 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000123/0.7893, allocations: 151.5 kB / 0.9603 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7893, allocations: 1.406 kB / 0.9603 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003289/0.7896, allocations: 61.12 kB / 0.9603 GB, free: 0.5547 MB / 0.7169 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.0009463/0.7906, allocations: 0.9954 MB / 0.9613 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.7916, allocations: 0.5809 MB / 0.9619 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7916, allocations: 3.938 kB / 0.9619 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.792, allocations: 242 kB / 0.9621 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.7924, allocations: 52.88 kB / 0.9621 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004326/0.7968, allocations: 3.045 MB / 0.9651 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.7971, allocations: 0.7352 MB / 0.9658 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.7973, allocations: 43.19 kB / 0.9659 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/0.7974, allocations: 56.95 kB / 0.9659 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.7974, allocations: 0 / 0.9659 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.8139, allocations: 5.415 MB / 0.9712 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.8141, allocations: 210.3 kB / 0.9714 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.845, allocations: 5.25 kB / 0.9714 GB, free: 9.152 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