Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_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.001518/0.001518, allocations: 99.55 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.001487/0.001487, 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.378/1.378, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.554/2.554, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 16 kB / 0.8375 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.688/0.6884, allocations: 146.8 MB / 0.9809 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01454/0.703, allocations: 12.46 MB / 0.993 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.004359/0.7074, allocations: 3.165 MB / 0.9961 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003458/0.7078, allocations: 11.94 kB / 0.9961 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006344/0.7084, allocations: 171.1 kB / 0.9963 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0009166/0.7094, allocations: 354.9 kB / 0.9966 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.7108, allocations: 0.4889 MB / 0.9971 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0006197/0.7114, allocations: 456.5 kB / 0.9975 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004348/0.7119, allocations: 210.1 kB / 0.9977 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005854/0.7124, allocations: 299 kB / 0.998 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.7127, allocations: 131.3 kB / 0.9982 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.7127, allocations: 8 kB / 0.9982 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.7131, allocations: 155.8 kB / 0.9983 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.7132, allocations: 55.75 kB / 0.9984 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.7133, allocations: 77.58 kB / 0.9984 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.7136, allocations: 269.6 kB / 0.9987 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.7136, allocations: 4 kB / 0.9987 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7136, allocations: 0 / 0.9987 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.7136, allocations: 0 / 0.9987 GB, free: 3.91 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000826/0.7145, allocations: 0.5571 MB / 0.9992 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.7145, allocations: 16.03 kB / 0.9993 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.872e-05/0.7146, allocations: 54.55 kB / 0.9993 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.7146, allocations: 35.62 kB / 0.9993 GB, free: 3.191 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.715, allocations: 301.8 kB / 0.9996 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.7151, allocations: 16.44 kB / 0.9996 GB, free: 2.844 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.7151, allocations: 24 kB / 0.9997 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.7156, allocations: 265.3 kB / 0.9999 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.7157, allocations: 0 / 0.9999 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.7157, allocations: 12 kB / 0.9999 GB, free: 2.535 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.7157, allocations: 4 kB / 0.9999 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.7162, allocations: 208.5 kB / 1 GB, free: 2.328 MB / 0.7481 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.001224/0.7174, allocations: 0.8355 MB / 1.001 GB, free: 1.426 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.7177, allocations: 153.1 kB / 1.001 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003741/0.7181, allocations: 498.6 kB / 1.002 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.7182, allocations: 38.5 kB / 1.002 GB, free: 0.6133 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.7182, allocations: 0 / 1.002 GB, free: 0.6133 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.0007911/0.719, allocations: 297.3 kB / 1.002 GB, free: 324 kB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.719, allocations: 81.09 kB / 1.002 GB, free: 224 kB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.7194, allocations: 267 kB / 1.002 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.7194, allocations: 29.7 kB / 1.002 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.7195, allocations: 168.2 kB / 1.002 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.7196, allocations: 47.39 kB / 1.002 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.7196, allocations: 0 / 1.002 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7197, allocations: 338.8 kB / 1.003 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.7199, allocations: 71.94 kB / 1.003 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.7202, allocations: 129.1 kB / 1.003 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.7204, allocations: 87.88 kB / 1.003 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7204, allocations: 0 / 1.003 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004901/0.7209, allocations: 233.2 kB / 1.003 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.7209, allocations: 4 kB / 1.003 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.721, allocations: 4 kB / 1.003 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.721, allocations: 0 / 1.003 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.7213, allocations: 71.97 kB / 1.003 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.7213, allocations: 0 / 1.003 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.7215, allocations: 40.2 kB / 1.003 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.7215, allocations: 11.98 kB / 1.003 GB, free: 14.7 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.0001434/0.7217, allocations: 141.8 kB / 1.004 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.7218, allocations: 27.67 kB / 1.004 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.7221, allocations: 195.1 kB / 1.004 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.7221, allocations: 4 kB / 1.004 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.7221, allocations: 0 / 1.004 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.7221, allocations: 4 kB / 1.004 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008382/0.723, allocations: 0.595 MB / 1.004 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.723, allocations: 4 kB / 1.004 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.7232, allocations: 64.06 kB / 1.004 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.7233, allocations: 4.094 kB / 1.004 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.7233, allocations: 3.938 kB / 1.004 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.7233, allocations: 4 kB / 1.004 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.7233, allocations: 3.938 kB / 1.004 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006524/0.724, allocations: 0.5114 MB / 1.005 GB, free: 13 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.7241, allocations: 124.7 kB / 1.005 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.7241, allocations: 11.94 kB / 1.005 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.7244, allocations: 27.88 kB / 1.005 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.7244, allocations: 23.92 kB / 1.005 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.7245, allocations: 4 kB / 1.005 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0001997/0.7247, allocations: 193.9 kB / 1.005 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7247, allocations: 0 / 1.005 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004643/0.7252, allocations: 83.84 kB / 1.005 GB, free: 12.52 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.00139/0.7266, allocations: 1.478 MB / 1.007 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0004926/0.7271, allocations: 195.7 kB / 1.007 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7271, allocations: 4.188 kB / 1.007 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.7273, allocations: 115.8 kB / 1.007 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.7281, allocations: 111.1 kB / 1.007 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.7308, allocations: 2.144 MB / 1.009 GB, free: 8.359 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.7312, allocations: 0.7833 MB / 1.01 GB, free: 7.551 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.7314, allocations: 70.25 kB / 1.01 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.7315, allocations: 83.41 kB / 1.01 GB, free: 7.402 MB / 0.7637 GB Notification: Performance of SimCode: time 9.12e-07/0.7315, allocations: 0 / 1.01 GB, free: 7.402 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.7518, allocations: 7.496 MB / 1.018 GB, free: 124 kB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003507/0.7523, allocations: 247.3 kB / 1.018 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.655, allocations: 4 kB / 1.018 GB, free: 15.87 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat does not exist to compare? outputFormat=mat