Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Fluid.Movers.Validation.Pump_y_stratos,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_Pump_y_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_y_stratos,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_Pump_y_stratos",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.00512/0.00512, allocations: 100.4 kB / 15.73 MB, free: 5.98 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.001068/0.001068, allocations: 192.1 kB / 16.67 MB, free: 5.918 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 71.83 kB / 1.054 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2911, allocations: 157.4 MB / 1.207 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_y_stratos): time 0.9097/1.201, allocations: 212.2 MB / 1.415 GB, free: 14.57 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.1299/1.331, allocations: 69.93 MB / 1.483 GB, free: 12.44 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02403/1.355, allocations: 370.1 kB / 1.483 GB, free: 12.08 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.02068/1.376, allocations: 5.431 MB / 1.489 GB, free: 6.617 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.04661/1.422, allocations: 11.41 MB / 1.5 GB, free: 11.16 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.02521/1.447, allocations: 8.88 MB / 1.508 GB, free: 2.332 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.1012/1.549, allocations: 58.76 MB / 1.566 GB, free: 7.488 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02438/1.573, allocations: 8.606 MB / 1.574 GB, free: 14.76 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02892/1.602, allocations: 9.6 MB / 1.583 GB, free: 5.16 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01776/1.62, allocations: 7.765 MB / 1.591 GB, free: 13.36 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.006388/1.626, allocations: 1.125 MB / 1.592 GB, free: 12.24 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01651/1.643, allocations: 4.011 MB / 1.596 GB, free: 8.223 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.009481/1.652, allocations: 5.453 MB / 1.601 GB, free: 2.754 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01758/1.67, allocations: 8.069 MB / 1.609 GB, free: 10.64 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.04366/1.714, allocations: 22.54 MB / 1.631 GB, free: 4.031 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/1.714, allocations: 0 / 1.631 GB, free: 4.031 MB / 1.311 GB Notification: Performance of FrontEnd: time 3.036e-06/1.714, allocations: 4 kB / 1.631 GB, free: 4.027 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0009772/1.715, allocations: 4 kB / 1.631 GB, free: 4.023 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1254 * Number of variables: 1254 Notification: Performance of Generate backend data structure: time 0.05107/1.766, allocations: 16.81 MB / 1.648 GB, free: 3 MB / 1.326 GB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/1.766, allocations: 12.62 kB / 1.648 GB, free: 2.988 MB / 1.326 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002273/1.768, allocations: 0.6349 MB / 1.648 GB, free: 2.344 MB / 1.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02973/1.798, allocations: 4.788 MB / 1.653 GB, free: 13.53 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05727/1.855, allocations: 25.53 MB / 1.678 GB, free: 3.879 MB / 1.357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006754/1.856, allocations: 425.7 kB / 1.678 GB, free: 3.461 MB / 1.357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002463/1.859, allocations: 0.5663 MB / 1.679 GB, free: 2.895 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/1.882, allocations: 7.755 MB / 1.686 GB, free: 10.89 MB / 1.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001781/1.882, allocations: 7.938 kB / 1.686 GB, free: 10.88 MB / 1.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00151/1.883, allocations: 212 kB / 1.687 GB, free: 10.67 MB / 1.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/1.884, allocations: 193.1 kB / 1.687 GB, free: 10.48 MB / 1.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02304/1.907, allocations: 6.246 MB / 1.693 GB, free: 4.219 MB / 1.373 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07972/1.987, allocations: 36.28 MB / 1.728 GB, free: 14.21 MB / 1.42 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0188/2.005, allocations: 5.226 MB / 1.734 GB, free: 8.988 MB / 1.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007242/2.013, allocations: 2.432 MB / 1.736 GB, free: 6.547 MB / 1.42 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02707/2.04, allocations: 11.87 MB / 1.747 GB, free: 10 MB / 1.436 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.722e-05/2.04, allocations: 68.59 kB / 1.748 GB, free: 9.926 MB / 1.436 GB Notification: Performance of pre-optimization done (n=257): time 4.729e-06/2.04, allocations: 3.938 kB / 1.748 GB, free: 9.922 MB / 1.436 GB Notification: Performance of matching and sorting (n=257): time 0.02862/2.069, allocations: 7.808 MB / 1.755 GB, free: 2.043 MB / 1.436 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/2.069, allocations: 77.44 kB / 1.755 GB, free: 1.953 MB / 1.436 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04937/2.118, allocations: 20.42 MB / 1.775 GB, free: 13.62 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.001296/2.119, allocations: 109.6 kB / 1.775 GB, free: 13.51 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.009412/2.129, allocations: 6.28 MB / 1.781 GB, free: 7.203 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.001995/2.131, allocations: 0.9596 MB / 1.782 GB, free: 6.23 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007946/2.139, allocations: 2.195 MB / 1.785 GB, free: 4.023 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 0.000115/2.139, allocations: 301.1 kB / 1.785 GB, free: 3.727 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01401/2.153, allocations: 6.039 MB / 1.791 GB, free: 13.67 MB / 1.482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01725/2.17, allocations: 8.606 MB / 1.799 GB, free: 4.074 MB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02501/2.195, allocations: 13.49 MB / 1.812 GB, free: 5.688 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.122e-05/2.195, allocations: 20 kB / 1.812 GB, free: 5.668 MB / 1.498 GB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.6662/2.862, allocations: 15.93 MB / 1.828 GB, free: 499.3 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 8.519e-05/2.862, allocations: 36.56 kB / 1.828 GB, free: 499.3 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/2.862, allocations: 62.3 kB / 1.828 GB, free: 499.3 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002393/2.862, allocations: 98.41 kB / 1.828 GB, free: 499.3 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009424/2.872, allocations: 1.967 MB / 1.83 GB, free: 499.1 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002743/2.872, allocations: 139.4 kB / 1.83 GB, free: 499.1 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01212/2.884, allocations: 1.213 MB / 1.831 GB, free: 499.1 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001832/2.886, allocations: 453.5 kB / 1.832 GB, free: 499.1 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0163/2.902, allocations: 8.455 MB / 1.84 GB, free: 499 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01244/2.915, allocations: 8.02 MB / 1.848 GB, free: 496.3 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02057/2.935, allocations: 12.34 MB / 1.86 GB, free: 490 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001092/2.935, allocations: 17.47 kB / 1.86 GB, free: 490 MB / 1.498 GB Notification: Performance of matching and sorting (n=1277) (initialization_lambda0): time 0.03621/2.972, allocations: 14.77 MB / 1.874 GB, free: 485 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/2.972, allocations: 31.22 kB / 1.874 GB, free: 485 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001911/2.972, allocations: 63.27 kB / 1.874 GB, free: 485 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/2.972, allocations: 98.81 kB / 1.874 GB, free: 485 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009252/2.982, allocations: 1.907 MB / 1.876 GB, free: 484.8 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003456/2.982, allocations: 138.8 kB / 1.876 GB, free: 484.8 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01334/2.995, allocations: 0.9591 MB / 1.877 GB, free: 484.5 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002447/2.998, allocations: 420.2 kB / 1.878 GB, free: 484.5 MB / 1.498 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 281 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (902): * Single equations (assignments): 882 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 10 * 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.004253/3.002, allocations: 0.586 MB / 1.878 GB, free: 484 MB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006034/3.008, allocations: 1.281 MB / 1.88 GB, free: 483.3 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02596/3.034, allocations: 6.972 MB / 1.886 GB, free: 481.1 MB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.594e-05/3.034, allocations: 39.53 kB / 1.886 GB, free: 481.1 MB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.95e-05/3.034, allocations: 0 / 1.886 GB, free: 481.1 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001226/3.034, allocations: 14.67 kB / 1.886 GB, free: 481.1 MB / 1.498 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04813/3.083, allocations: 15.16 MB / 1.901 GB, free: 475.4 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.922e-05/3.083, allocations: 3.969 kB / 1.901 GB, free: 475.4 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004865/3.088, allocations: 0.8465 MB / 1.902 GB, free: 475.4 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.367e-05/3.088, allocations: 11.78 kB / 1.902 GB, free: 475.4 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006427/3.088, allocations: 126.2 kB / 1.902 GB, free: 475.3 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.827e-05/3.088, allocations: 18.91 kB / 1.902 GB, free: 475.3 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/3.088, allocations: 0 / 1.902 GB, free: 475.3 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02611/3.114, allocations: 9.538 MB / 1.912 GB, free: 471.7 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01081/3.125, allocations: 2.259 MB / 1.914 GB, free: 470.3 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007275/3.133, allocations: 66.81 kB / 1.914 GB, free: 470.2 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01335/3.146, allocations: 458.2 kB / 1.914 GB, free: 470.2 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009355/3.147, allocations: 189.2 kB / 1.914 GB, free: 470.2 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001176/3.148, allocations: 166.6 kB / 1.915 GB, free: 470.2 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.03519/3.183, allocations: 14.24 MB / 1.929 GB, free: 461.1 MB / 1.498 GB Notification: Performance of sort global known variables: time 6.52e-07/3.183, allocations: 4 kB / 1.929 GB, free: 461.1 MB / 1.498 GB Notification: Performance of remove unused functions: time 0.02535/3.209, allocations: 5.299 MB / 1.934 GB, free: 455.9 MB / 1.498 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (pump1.filter.s[1],pump1.filter.s[2],pump2.filter.s[1],pump2.filter.s[2],pump3.filter.s[1],pump3.filter.s[2],pump4.filter.s[1],pump4.filter.s[2],pump5.filter.s[1],pump5.filter.s[2],forcedPump1.filter.s[1],forcedPump1.filter.s[2],forcedPump2.filter.s[1],forcedPump2.filter.s[2],forcedPump3.filter.s[1],forcedPump3.filter.s[2],forcedPump4.filter.s[1],forcedPump4.filter.s[2],forcedPump5.filter.s[1],forcedPump5.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (314): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * 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.03032/3.239, allocations: 11.16 MB / 1.945 GB, free: 445.5 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.03033/3.27, allocations: 17 MB / 1.961 GB, free: 428.5 MB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/3.27, allocations: 0 / 1.961 GB, free: 428.5 MB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.006532/3.276, allocations: 2.637 MB / 1.964 GB, free: 425.9 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02878/3.305, allocations: 6.956 MB / 1.971 GB, free: 419.2 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2631/3.568, allocations: 124.3 MB / 2.092 GB, free: 292.5 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01241/3.581, allocations: 6.752 MB / 2.099 GB, free: 285.8 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.01682/3.597, allocations: 3.849 MB / 2.102 GB, free: 281.9 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01132/3.609, allocations: 6.611 MB / 2.109 GB, free: 275.3 MB / 1.498 GB Notification: Performance of SimCode: time 1.022e-06/3.609, allocations: 0 / 2.109 GB, free: 275.3 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.136/5.745, allocations: 364.3 MB / 2.464 GB, free: 476.2 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 65.16/70.91, allocations: 10.06 kB / 2.465 GB, free: 476.2 MB / 1.514 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_Validation_Pump_y_stratos_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_Movers_Validation_Pump_y_stratos.fmu > Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_Pump_y_stratos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches