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.001135/0.001135, allocations: 98.77 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.0009788/0.0009788, 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.362/1.362, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.392/2.392, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.7513, allocations: 142.3 MB / 0.9536 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.00891/0.7603, allocations: 8.542 MB / 0.9619 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002592/0.7629, allocations: 1.888 MB / 0.9638 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.7632, allocations: 7.281 kB / 0.9638 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.7636, allocations: 102.9 kB / 0.9639 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006127/0.7642, allocations: 226.4 kB / 0.9641 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009301/0.7652, allocations: 337.3 kB / 0.9644 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000412/0.7656, allocations: 257.1 kB / 0.9647 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.7659, allocations: 107.2 kB / 0.9648 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.7663, allocations: 164.6 kB / 0.9649 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.7664, allocations: 70.23 kB / 0.965 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.7664, allocations: 4.25 kB / 0.965 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.7667, allocations: 116.4 kB / 0.9651 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.7668, allocations: 30.38 kB / 0.9651 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.7669, allocations: 54.61 kB / 0.9652 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.7671, allocations: 162 kB / 0.9653 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7672, allocations: 0 / 0.9653 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7672, allocations: 3.938 kB / 0.9653 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.7672, allocations: 1.281 kB / 0.9653 GB, free: 14.7 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.0005632/0.7677, allocations: 441.4 kB / 0.9658 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7678, allocations: 9.688 kB / 0.9658 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.674e-05/0.7678, allocations: 45.53 kB / 0.9658 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.7679, allocations: 17.06 kB / 0.9658 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.7682, allocations: 240.5 kB / 0.9661 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.7682, allocations: 8.875 kB / 0.9661 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.7682, allocations: 7.438 kB / 0.9661 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.7685, allocations: 150.7 kB / 0.9662 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.7686, allocations: 4 kB / 0.9662 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.7686, allocations: 0.9688 kB / 0.9662 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.7686, allocations: 2.031 kB / 0.9662 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.7689, allocations: 98.22 kB / 0.9663 GB, free: 13.81 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.0007632/0.7696, allocations: 0.5485 MB / 0.9669 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.7698, allocations: 106.3 kB / 0.967 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/0.7701, allocations: 328.9 kB / 0.9673 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.7701, allocations: 32.06 kB / 0.9673 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.7702, allocations: 4 kB / 0.9673 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004934/0.7707, allocations: 179.7 kB / 0.9675 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.7707, allocations: 86.42 kB / 0.9676 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.7709, allocations: 186.4 kB / 0.9677 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.7709, allocations: 27.02 kB / 0.9678 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.771, allocations: 120.1 kB / 0.9679 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.771, allocations: 26.61 kB / 0.9679 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.771, allocations: 0 / 0.9679 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7712, allocations: 322 kB / 0.9682 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.7713, allocations: 43 kB / 0.9683 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.7714, allocations: 70.36 kB / 0.9683 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.7716, allocations: 54.44 kB / 0.9684 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7716, allocations: 0.9688 kB / 0.9684 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000305/0.7719, allocations: 137.1 kB / 0.9685 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.7719, allocations: 10 kB / 0.9685 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7719, allocations: 1.875 kB / 0.9685 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.772, allocations: 1.031 kB / 0.9685 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.7722, allocations: 52.94 kB / 0.9686 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.7722, allocations: 0.9688 kB / 0.9686 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.7724, allocations: 22.67 kB / 0.9686 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.7724, allocations: 3.219 kB / 0.9686 GB, free: 11.75 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.0001068/0.7725, allocations: 131.7 kB / 0.9687 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.7726, allocations: 14.69 kB / 0.9687 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.7728, allocations: 134.3 kB / 0.9689 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.7728, allocations: 1.062 kB / 0.9689 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.7728, allocations: 9.141 kB / 0.9689 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.7728, allocations: 0 / 0.9689 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/0.7734, allocations: 469.8 kB / 0.9693 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.7734, allocations: 0.875 kB / 0.9693 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.7737, allocations: 49.02 kB / 0.9694 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.7737, allocations: 6.141 kB / 0.9694 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.7737, allocations: 6.312 kB / 0.9694 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7737, allocations: 1.75 kB / 0.9694 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7737, allocations: 1.625 kB / 0.9694 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.7742, allocations: 405.5 kB / 0.9698 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.7743, allocations: 100.5 kB / 0.9699 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.7743, allocations: 10.45 kB / 0.9699 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.7744, allocations: 15.5 kB / 0.9699 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.7745, allocations: 12.91 kB / 0.9699 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.7745, allocations: 12.03 kB / 0.9699 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001094/0.7746, allocations: 134.8 kB / 0.97 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7746, allocations: 0 / 0.97 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003981/0.775, allocations: 51.28 kB / 0.9701 GB, free: 10.43 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.001054/0.7761, allocations: 1.282 MB / 0.9713 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.7764, allocations: 116.1 kB / 0.9715 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7764, allocations: 0 / 0.9715 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.7766, allocations: 67.61 kB / 0.9715 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.7772, allocations: 66.7 kB / 0.9716 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.7788, allocations: 1.271 MB / 0.9728 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.7791, allocations: 0.7321 MB / 0.9735 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000111/0.7793, allocations: 30.31 kB / 0.9736 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.7793, allocations: 52.47 kB / 0.9736 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.7794, allocations: 0 / 0.9736 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.7948, allocations: 4.809 MB / 0.9783 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.7951, allocations: 231.2 kB / 0.9785 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.538, allocations: 0 / 0.9785 GB, free: 4.762 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