Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",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.0009408/0.0009408, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009796/0.0009797, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.3 MB / 0.6653 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 16 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6865/0.6868, allocations: 142.3 MB / 0.9536 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.1061/0.793, allocations: 65.13 MB / 1.017 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.04069/0.8337, allocations: 22.55 MB / 1.039 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00418/0.838, allocations: 91.38 kB / 1.039 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00486/0.8428, allocations: 1.322 MB / 1.041 GB, free: 6.883 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0111/0.854, allocations: 3.548 MB / 1.044 GB, free: 3.328 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.008407/0.8624, allocations: 2.916 MB / 1.047 GB, free: 452 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01042/0.8728, allocations: 4.379 MB / 1.051 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00427/0.8771, allocations: 1.991 MB / 1.053 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005396/0.8826, allocations: 2.141 MB / 1.055 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/0.8854, allocations: 1.482 MB / 1.057 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005148/0.8859, allocations: 128 kB / 1.057 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003955/0.8899, allocations: 1.471 MB / 1.058 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.891, allocations: 0.993 MB / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.8921, allocations: 0.7575 MB / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005911/0.898, allocations: 4.539 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.8981, allocations: 0 / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.454e-06/0.8981, allocations: 0 / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001703/0.8983, allocations: 0 / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.009338/0.9076, allocations: 4.122 MB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.9077, allocations: 8.031 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005614/0.9082, allocations: 224 kB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006689/0.9149, allocations: 1.271 MB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.9255, allocations: 6.184 MB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001022/0.9265, allocations: 339.6 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004528/0.927, allocations: 184 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005063/0.9321, allocations: 2.447 MB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.9321, allocations: 0 / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.9323, allocations: 68 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/0.9323, allocations: 40 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00616/0.9385, allocations: 2.151 MB / 1.081 GB, free: 13.24 MB / 0.8419 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.01836/0.9569, allocations: 10.9 MB / 1.092 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005955/0.9629, allocations: 1.78 MB / 1.093 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007034/0.97, allocations: 3.758 MB / 1.097 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.9701, allocations: 43.22 kB / 1.097 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001269/0.9714, allocations: 194.4 kB / 1.097 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=79): time 7.103e-06/0.9714, allocations: 0 / 1.097 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=79): time 0.009695/0.9811, allocations: 2.956 MB / 1.1 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.9812, allocations: 60.06 kB / 1.1 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007581/0.9888, allocations: 5.157 MB / 1.105 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003869/0.9892, allocations: 49.7 kB / 1.105 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.9906, allocations: 1.596 MB / 1.107 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003993/0.991, allocations: 276 kB / 1.107 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.9911, allocations: 36 kB / 1.107 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.9912, allocations: 365.9 kB / 1.107 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/0.9941, allocations: 1.023 MB / 1.108 GB, free: 108 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003257/0.9973, allocations: 1.752 MB / 1.11 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002954/1, allocations: 1.147 MB / 1.111 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/1, allocations: 8 kB / 1.111 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.007684/1.008, allocations: 3.083 MB / 1.114 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.003324/1.011, allocations: 9.414 MB / 1.124 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-05/1.011, allocations: 20 kB / 1.124 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006724/1.012, allocations: 152.8 kB / 1.124 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/1.015, allocations: 0.5148 MB / 1.124 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008579/1.016, allocations: 0.8176 MB / 1.125 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/1.019, allocations: 292.3 kB / 1.125 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000443/1.02, allocations: 151.9 kB / 1.125 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.02, allocations: 5.406 kB / 1.125 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006871/1.026, allocations: 3.046 MB / 1.128 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.812e-05/1.027, allocations: 20 kB / 1.128 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/1.028, allocations: 397.3 kB / 1.129 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/1.03, allocations: 483.2 kB / 1.129 GB, free: 9.816 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006865/1.036, allocations: 4.746 MB / 1.134 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003237/1.04, allocations: 256.4 kB / 1.134 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003545/1.04, allocations: 124 kB / 1.134 GB, free: 4.477 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (180): * Single equations (assignments): 176 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001826/1.042, allocations: 0.8965 MB / 1.135 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006521/1.043, allocations: 323.8 kB / 1.135 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007005/1.05, allocations: 2.581 MB / 1.138 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/1.05, allocations: 19.92 kB / 1.138 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.05, allocations: 0 / 1.138 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/1.05, allocations: 3.984 kB / 1.138 GB, free: 0.6211 MB / 0.8887 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 postOpt removeSimpleEquations (simulation): time 0.01177/1.062, allocations: 4.988 MB / 1.143 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/1.062, allocations: 0 / 1.143 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/1.063, allocations: 331.7 kB / 1.143 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003912/1.064, allocations: 136.7 kB / 1.143 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/1.064, allocations: 35.97 kB / 1.143 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006981/1.064, allocations: 0.7357 MB / 1.144 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.064, allocations: 4.062 kB / 1.144 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009322/1.074, allocations: 3.537 MB / 1.148 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00192/1.076, allocations: 0.6136 MB / 1.148 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007064/1.076, allocations: 20 kB / 1.148 GB, free: 6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/1.079, allocations: 267.6 kB / 1.148 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/1.079, allocations: 68.91 kB / 1.148 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.079, allocations: 59.94 kB / 1.149 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00528/1.085, allocations: 3.692 MB / 1.152 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.91e-07/1.085, allocations: 0 / 1.152 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.005914/1.091, allocations: 1.552 MB / 1.154 GB, free: 364 kB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * 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 (93): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01127/1.102, allocations: 4.867 MB / 1.158 GB, free: 11.44 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.112, allocations: 3.949 MB / 1.162 GB, free: 7.48 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.112, allocations: 0 / 1.162 GB, free: 7.48 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003085/1.115, allocations: 0.9674 MB / 1.163 GB, free: 6.516 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007797/1.123, allocations: 1.642 MB / 1.165 GB, free: 4.879 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02401/1.147, allocations: 22.77 MB / 1.187 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/1.149, allocations: 2.169 MB / 1.189 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004544/1.154, allocations: 0.8785 MB / 1.19 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002489/1.156, allocations: 1.444 MB / 1.191 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of SimCode: time 1.633e-06/1.156, allocations: 0 / 1.191 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6458/1.802, allocations: 102.1 MB / 1.291 GB, free: 242.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/1.802, allocations: 256.3 kB / 1.291 GB, free: 241.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.473/6.276, allocations: 3.641 kB / 1.291 GB, free: 241.8 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat does not exist to compare? outputFormat=mat