Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.PumpCurveConstruction,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",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.0008879/0.000888, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001505/0.001505, allocations: 168.7 kB / 15.95 MB, free: 204 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.402/1.402, allocations: 223.2 MB / 240 MB, free: 5.441 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.436/2.436, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003198, allocations: 12 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8556/0.8559, allocations: 142.3 MB / 0.9538 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.0888/0.9448, allocations: 94.57 MB / 1.046 GB, free: 1.371 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04431/0.9891, allocations: 30.47 MB / 1.076 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008116/0.9973, allocations: 135.1 kB / 1.076 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00671/1.004, allocations: 1.308 MB / 1.077 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01521/1.019, allocations: 3.941 MB / 1.081 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01025/1.03, allocations: 2.849 MB / 1.084 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01568/1.045, allocations: 10.64 MB / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00703/1.052, allocations: 2.637 MB / 1.097 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008894/1.061, allocations: 3.162 MB / 1.1 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005995/1.067, allocations: 2.742 MB / 1.103 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001463/1.069, allocations: 156 kB / 1.103 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006059/1.075, allocations: 1.778 MB / 1.105 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002141/1.077, allocations: 0.9728 MB / 1.106 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002308/1.079, allocations: 0.8198 MB / 1.106 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008296/1.088, allocations: 5.136 MB / 1.111 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/1.088, allocations: 0 / 1.111 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.567e-06/1.088, allocations: 0 / 1.111 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002465/1.088, allocations: 0 / 1.111 GB, free: 14.43 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01235/1.1, allocations: 4.129 MB / 1.115 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.1, allocations: 8.031 kB / 1.115 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001153/1.102, allocations: 287.3 kB / 1.116 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008352/1.11, allocations: 1.614 MB / 1.117 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/1.123, allocations: 3.947 MB / 1.121 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003161/1.124, allocations: 180.8 kB / 1.121 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00099/1.125, allocations: 235.9 kB / 1.122 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007419/1.132, allocations: 2.704 MB / 1.124 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-05/1.132, allocations: 4 kB / 1.124 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004294/1.133, allocations: 84 kB / 1.124 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/1.133, allocations: 52 kB / 1.124 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006089/1.139, allocations: 2.123 MB / 1.126 GB, free: 14.8 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 preOpt removeSimpleEquations (simulation): time 0.02137/1.16, allocations: 12.33 MB / 1.138 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/1.165, allocations: 1.693 MB / 1.14 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/1.167, allocations: 0.7869 MB / 1.141 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007536/1.174, allocations: 3.809 MB / 1.145 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/1.174, allocations: 43.56 kB / 1.145 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001558/1.176, allocations: 190.4 kB / 1.145 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=108): time 5.911e-06/1.176, allocations: 0 / 1.145 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=108): time 0.009169/1.185, allocations: 3.174 MB / 1.148 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/1.185, allocations: 60.41 kB / 1.148 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005463/1.191, allocations: 3.182 MB / 1.151 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004118/1.191, allocations: 53.7 kB / 1.151 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001547/1.193, allocations: 1.71 MB / 1.153 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005873/1.193, allocations: 374.6 kB / 1.153 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/1.194, allocations: 32 kB / 1.153 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001799/1.194, allocations: 377.9 kB / 1.154 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/1.196, allocations: 0.851 MB / 1.154 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002814/1.199, allocations: 1.518 MB / 1.156 GB, free: 15.03 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002686/1.202, allocations: 0.9822 MB / 1.157 GB, free: 14.04 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-05/1.202, allocations: 4 kB / 1.157 GB, free: 14.04 MB / 0.92 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.008686/1.21, allocations: 2.842 MB / 1.16 GB, free: 11.17 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000597/1.211, allocations: 0.6024 MB / 1.16 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-05/1.211, allocations: 16 kB / 1.16 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/1.213, allocations: 351.1 kB / 1.16 GB, free: 9.965 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/1.215, allocations: 455.2 kB / 1.161 GB, free: 9.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/1.217, allocations: 2.6 MB / 1.163 GB, free: 6.816 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/1.22, allocations: 227.7 kB / 1.164 GB, free: 6.594 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004934/1.221, allocations: 135.9 kB / 1.164 GB, free: 6.461 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.221, allocations: 9.875 kB / 1.164 GB, free: 6.453 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006993/1.228, allocations: 2.834 MB / 1.167 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-05/1.228, allocations: 20 kB / 1.167 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/1.23, allocations: 0.6514 MB / 1.167 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/1.232, allocations: 427.3 kB / 1.168 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/1.246, allocations: 10.62 MB / 1.178 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/1.249, allocations: 215.7 kB / 1.178 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000491/1.25, allocations: 124 kB / 1.178 GB, free: 6.891 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (200): * Single equations (assignments): 192 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002253/1.252, allocations: 0.8168 MB / 1.179 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009151/1.253, allocations: 347.5 kB / 1.179 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007307/1.26, allocations: 2.721 MB / 1.182 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/1.26, allocations: 19.98 kB / 1.182 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.26, allocations: 4 kB / 1.182 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/1.26, allocations: 7.969 kB / 1.182 GB, free: 2.941 MB / 0.9356 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.0133/1.274, allocations: 4.86 MB / 1.187 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/1.274, allocations: 0 / 1.187 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/1.275, allocations: 275.7 kB / 1.187 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009407/1.276, allocations: 331 kB / 1.187 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/1.276, allocations: 43.95 kB / 1.188 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/1.278, allocations: 2.51 MB / 1.19 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.278, allocations: 0 / 1.19 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00593/1.284, allocations: 2.44 MB / 1.192 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/1.286, allocations: 0.5782 MB / 1.193 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008308/1.287, allocations: 20 kB / 1.193 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.289, allocations: 227.6 kB / 1.193 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/1.289, allocations: 81.19 kB / 1.193 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/1.289, allocations: 63.94 kB / 1.193 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004236/1.294, allocations: 2.109 MB / 1.195 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.104e-06/1.294, allocations: 0 / 1.195 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.007927/1.302, allocations: 1.734 MB / 1.197 GB, free: 3.418 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (113): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007753/1.309, allocations: 3.369 MB / 1.2 GB, free: 8 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00958/1.319, allocations: 3.994 MB / 1.204 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.319, allocations: 4 kB / 1.204 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002486/1.321, allocations: 0.9462 MB / 1.205 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008196/1.33, allocations: 1.552 MB / 1.207 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05869/1.388, allocations: 24.6 MB / 1.231 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/1.391, allocations: 2.16 MB / 1.233 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00477/1.396, allocations: 0.8441 MB / 1.234 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002434/1.398, allocations: 1.546 MB / 1.235 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.398, allocations: 0 / 1.235 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6762/2.074, allocations: 102.9 MB / 1.336 GB, free: 233.5 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/2.074, allocations: 264.2 kB / 1.336 GB, free: 233.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.541/6.615, allocations: 8.719 kB / 1.336 GB, free: 233.2 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat does not exist to compare? outputFormat=mat