Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.001038/0.001038, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001174/0.001175, allocations: 172.7 kB / 15.95 MB, free: 208 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.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.406 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.545/2.545, allocations: 390.4 MB / 0.6655 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 8 kB / 0.8149 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.6673, allocations: 142.3 MB / 0.9538 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.009806/0.6772, allocations: 9.218 MB / 0.9628 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002786/0.68, allocations: 2.081 MB / 0.9649 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003593/0.6804, allocations: 6.938 kB / 0.9649 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.6808, allocations: 70.41 kB / 0.9649 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007445/0.6816, allocations: 204 kB / 0.9651 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.6824, allocations: 191.6 kB / 0.9653 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009357/0.6833, allocations: 0.5085 MB / 0.9658 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.6837, allocations: 105.1 kB / 0.9659 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005934/0.6843, allocations: 182.9 kB / 0.9661 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.6846, allocations: 114.4 kB / 0.9662 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.6846, allocations: 4.656 kB / 0.9662 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.685, allocations: 100.3 kB / 0.9663 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.96e-05/0.6851, allocations: 32.58 kB / 0.9663 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.6852, allocations: 55.2 kB / 0.9664 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.6855, allocations: 159 kB / 0.9665 GB, free: 14 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6855, allocations: 3.938 kB / 0.9665 GB, free: 14 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.715e-06/0.6855, allocations: 4 kB / 0.9665 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.6855, allocations: 1.031 kB / 0.9665 GB, free: 13.99 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008363/0.6863, allocations: 442.6 kB / 0.967 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.6864, allocations: 8.625 kB / 0.967 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/0.6865, allocations: 46.92 kB / 0.967 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.241e-05/0.6865, allocations: 16.88 kB / 0.967 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.687, allocations: 239.9 kB / 0.9673 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.687, allocations: 12.09 kB / 0.9673 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.687, allocations: 7.75 kB / 0.9673 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.6874, allocations: 151.8 kB / 0.9674 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.6874, allocations: 0 / 0.9674 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.6874, allocations: 0.9062 kB / 0.9674 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.6874, allocations: 2.438 kB / 0.9674 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.6877, allocations: 101.4 kB / 0.9675 GB, free: 13.09 MB / 0.7325 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.0007855/0.6885, allocations: 0.5465 MB / 0.9681 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.6887, allocations: 99.7 kB / 0.9682 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.6888, allocations: 60.23 kB / 0.9682 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/0.6891, allocations: 342.8 kB / 0.9685 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.6892, allocations: 35.53 kB / 0.9686 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.6892, allocations: 1.062 kB / 0.9686 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0005154/0.6897, allocations: 179.8 kB / 0.9688 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.6897, allocations: 78.17 kB / 0.9688 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.6899, allocations: 186.6 kB / 0.969 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.69, allocations: 30.98 kB / 0.969 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.69, allocations: 119 kB / 0.9691 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.6901, allocations: 18.88 kB / 0.9692 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.6901, allocations: 4.875 kB / 0.9692 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6902, allocations: 325.8 kB / 0.9695 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.6903, allocations: 43.41 kB / 0.9695 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.6905, allocations: 70.3 kB / 0.9696 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.6906, allocations: 51.52 kB / 0.9696 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6906, allocations: 0 / 0.9696 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003013/0.6909, allocations: 145.7 kB / 0.9698 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.691, allocations: 5.594 kB / 0.9698 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.691, allocations: 0.75 kB / 0.9698 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.691, allocations: 5.578 kB / 0.9698 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.6912, allocations: 45.92 kB / 0.9698 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.6912, allocations: 1 kB / 0.9698 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.6914, allocations: 17.64 kB / 0.9699 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.6915, allocations: 12.42 kB / 0.9699 GB, free: 11 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.6916, allocations: 126.2 kB / 0.97 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.6917, allocations: 15 kB / 0.97 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.6919, allocations: 134.6 kB / 0.9701 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.692, allocations: 5.156 kB / 0.9701 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.692, allocations: 9.062 kB / 0.9701 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.692, allocations: 0.75 kB / 0.9701 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005952/0.6926, allocations: 472.5 kB / 0.9706 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6926, allocations: 1.625 kB / 0.9706 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.6928, allocations: 50.05 kB / 0.9706 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.6928, allocations: 5.078 kB / 0.9706 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.6928, allocations: 7.031 kB / 0.9707 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.6928, allocations: 0.9062 kB / 0.9707 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6928, allocations: 5.844 kB / 0.9707 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.6933, allocations: 350.4 kB / 0.971 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.858e-05/0.6934, allocations: 104.5 kB / 0.9711 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.6934, allocations: 6.203 kB / 0.9711 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.6935, allocations: 19.2 kB / 0.9711 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.6936, allocations: 9.062 kB / 0.9711 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.6936, allocations: 4.25 kB / 0.9711 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001179/0.6937, allocations: 138.5 kB / 0.9713 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6937, allocations: 4 kB / 0.9713 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003831/0.6941, allocations: 51.58 kB / 0.9713 GB, free: 9.746 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/0.6952, allocations: 0.9622 MB / 0.9723 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003281/0.6955, allocations: 115.2 kB / 0.9724 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6955, allocations: 1.312 kB / 0.9724 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.6957, allocations: 66.52 kB / 0.9724 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/0.6964, allocations: 67.69 kB / 0.9725 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.698, allocations: 0.9845 MB / 0.9735 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.6985, allocations: 0.7298 MB / 0.9742 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.6986, allocations: 31.47 kB / 0.9742 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.6987, allocations: 47.64 kB / 0.9742 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of SimCode: time 4.6e-07/0.6987, allocations: 0 / 0.9742 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.272/1.97, allocations: 4.825 MB / 0.979 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.03166/2.002, allocations: 238.2 kB / 0.9792 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/3.821, allocations: 1.547 kB / 0.9792 GB, free: 4.707 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat does not exist to compare? outputFormat=mat