Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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.FlowControlled_m_flow,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",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.0009565/0.0009564, allocations: 99.08 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.001051/0.001051, allocations: 177.3 kB / 15.94 MB, free: 228 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.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.316 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.465/2.465, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004572, allocations: 11.98 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8322/0.8327, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.3217/1.154, allocations: 262.1 MB / 1.21 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03046/1.185, allocations: 18.5 MB / 1.228 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003549/1.189, allocations: 71.5 kB / 1.228 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004736/1.193, allocations: 1.205 MB / 1.229 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01274/1.206, allocations: 3.865 MB / 1.233 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007083/1.213, allocations: 2.107 MB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008014/1.221, allocations: 3.449 MB / 1.238 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003192/1.224, allocations: 1.602 MB / 1.24 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006415/1.231, allocations: 2.255 MB / 1.242 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002676/1.234, allocations: 1.144 MB / 1.243 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004353/1.234, allocations: 92 kB / 1.243 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005552/1.24, allocations: 1.86 MB / 1.245 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001046/1.241, allocations: 0.6776 MB / 1.246 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/1.242, allocations: 0.5083 MB / 1.246 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005211/1.247, allocations: 3.133 MB / 1.249 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/1.247, allocations: 0 / 1.249 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.285e-06/1.247, allocations: 0 / 1.249 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.808e-05/1.247, allocations: 4 kB / 1.249 GB, free: 0.8828 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.6369/1.884, allocations: 2.497 MB / 1.252 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.884, allocations: 9.875 kB / 1.252 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006205/1.885, allocations: 199.6 kB / 1.252 GB, free: 287.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007587/1.892, allocations: 1.064 MB / 1.253 GB, free: 287.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00615/1.899, allocations: 1.945 MB / 1.255 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005357/1.899, allocations: 180.3 kB / 1.255 GB, free: 286.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005101/1.9, allocations: 149.5 kB / 1.255 GB, free: 286.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004323/1.904, allocations: 1.757 MB / 1.257 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/1.904, allocations: 5.75 kB / 1.257 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/1.904, allocations: 56.25 kB / 1.257 GB, free: 285.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.091e-05/1.904, allocations: 51.25 kB / 1.257 GB, free: 285.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005011/1.909, allocations: 1.689 MB / 1.258 GB, free: 284.8 MB / 0.9981 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.01305/1.922, allocations: 7.962 MB / 1.266 GB, free: 278.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/1.925, allocations: 1.192 MB / 1.267 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.065e-05/1.925, allocations: 25.44 kB / 1.267 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/1.925, allocations: 38.94 kB / 1.267 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001261/1.927, allocations: 197 kB / 1.268 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=77): time 3.597e-06/1.927, allocations: 0 / 1.268 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=77): time 0.005371/1.932, allocations: 1.707 MB / 1.269 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/1.932, allocations: 60.31 kB / 1.269 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/1.935, allocations: 1.784 MB / 1.271 GB, free: 275.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001716/1.935, allocations: 45.17 kB / 1.271 GB, free: 275.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/1.936, allocations: 0.9797 MB / 1.272 GB, free: 274.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/1.936, allocations: 272.6 kB / 1.272 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/1.936, allocations: 19.56 kB / 1.272 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/1.936, allocations: 348.5 kB / 1.273 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/1.938, allocations: 0.5174 MB / 1.273 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/1.939, allocations: 0.9328 MB / 1.274 GB, free: 272.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/1.941, allocations: 0.6118 MB / 1.275 GB, free: 272.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/1.941, allocations: 2.125 kB / 1.275 GB, free: 272.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00452/1.946, allocations: 1.597 MB / 1.276 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007755/1.946, allocations: 3.963 MB / 1.28 GB, free: 267.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/1.946, allocations: 10.25 kB / 1.28 GB, free: 267.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.267e-05/1.946, allocations: 20.05 kB / 1.28 GB, free: 267.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/1.948, allocations: 332.1 kB / 1.281 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003032/1.948, allocations: 0.6094 MB / 1.281 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/1.951, allocations: 211.4 kB / 1.281 GB, free: 266.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.951, allocations: 60.25 kB / 1.281 GB, free: 266.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.951, allocations: 3.531 kB / 1.281 GB, free: 266.7 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002931/1.954, allocations: 1.278 MB / 1.283 GB, free: 266.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/1.954, allocations: 9.781 kB / 1.283 GB, free: 266.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/1.954, allocations: 19.92 kB / 1.283 GB, free: 266.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/1.955, allocations: 288.1 kB / 1.283 GB, free: 266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.529e-05/1.955, allocations: 26.56 kB / 1.283 GB, free: 266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/1.958, allocations: 191.9 kB / 1.283 GB, free: 265.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/1.958, allocations: 52.05 kB / 1.283 GB, free: 265.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (125): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001155/1.959, allocations: 0.5802 MB / 1.284 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004063/1.959, allocations: 204.3 kB / 1.284 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/1.963, allocations: 1.32 MB / 1.285 GB, free: 264.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/1.963, allocations: 9.062 kB / 1.285 GB, free: 264.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.963, allocations: 1.469 kB / 1.285 GB, free: 264.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002775/1.966, allocations: 1.131 MB / 1.286 GB, free: 264 MB / 0.9981 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.00678/1.972, allocations: 3.218 MB / 1.289 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.972, allocations: 0 / 1.289 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.974, allocations: 265.1 kB / 1.29 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/1.974, allocations: 3.906 kB / 1.29 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/1.974, allocations: 27.89 kB / 1.29 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002026/1.974, allocations: 0.5896 MB / 1.29 GB, free: 261.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.974, allocations: 11.88 kB / 1.29 GB, free: 261.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004573/1.979, allocations: 2.084 MB / 1.292 GB, free: 260 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.98, allocations: 377.4 kB / 1.293 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/1.98, allocations: 19.78 kB / 1.293 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/1.982, allocations: 178 kB / 1.293 GB, free: 259.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/1.982, allocations: 56.27 kB / 1.293 GB, free: 259.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.214e-05/1.982, allocations: 35.31 kB / 1.293 GB, free: 259.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001849/1.984, allocations: 1.213 MB / 1.294 GB, free: 258.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.2e-07/1.984, allocations: 0 / 1.294 GB, free: 258.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003335/1.987, allocations: 0.9948 MB / 1.295 GB, free: 258.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005553/1.993, allocations: 3.253 MB / 1.298 GB, free: 254.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004689/1.997, allocations: 1.919 MB / 1.3 GB, free: 252.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.997, allocations: 0 / 1.3 GB, free: 252.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/1.999, allocations: 0.582 MB / 1.301 GB, free: 252.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004479/2.003, allocations: 1.026 MB / 1.302 GB, free: 251.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009158/2.012, allocations: 11.9 MB / 1.313 GB, free: 239.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008828/2.013, allocations: 1.613 MB / 1.315 GB, free: 237.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002198/2.016, allocations: 0.5084 MB / 1.316 GB, free: 237 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009591/2.016, allocations: 0.8624 MB / 1.316 GB, free: 236.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/2.016, allocations: 3.938 kB / 1.316 GB, free: 236.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07811/2.095, allocations: 55.09 MB / 1.37 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/2.095, allocations: 256.8 kB / 1.37 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/5.141, allocations: 4 kB / 1.37 GB, free: 181.5 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat does not exist to compare? outputFormat=mat