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.001091/0.00109, allocations: 86.41 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.001246/0.001247, 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.416/1.416, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.528/2.528, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 8 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7347/0.735, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01315/0.7482, allocations: 13.51 MB / 0.9943 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.004227/0.7525, allocations: 3.496 MB / 0.9977 GB, free: 5.207 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.7528, allocations: 15.88 kB / 0.9978 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.7533, allocations: 115.1 kB / 0.9979 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0007356/0.754, allocations: 334.3 kB / 0.9982 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.000753/0.7548, allocations: 281.2 kB / 0.9985 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0009087/0.7557, allocations: 0.9129 MB / 0.9993 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.756, allocations: 206 kB / 0.9995 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005675/0.7566, allocations: 322.5 kB / 0.9998 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.7569, allocations: 199 kB / 1 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.7569, allocations: 12 kB / 1 GB, free: 2.836 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.7573, allocations: 143.6 kB / 1 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.7573, allocations: 51.81 kB / 1 GB, free: 2.645 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.7574, allocations: 81.52 kB / 1 GB, free: 2.559 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.7577, allocations: 273.6 kB / 1.001 GB, free: 2.293 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.7578, allocations: 11.98 kB / 1.001 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.542e-06/0.7578, allocations: 0 / 1.001 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.7578, allocations: 0 / 1.001 GB, free: 2.281 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.0007344/0.7585, allocations: 0.5494 MB / 1.001 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.7586, allocations: 8.031 kB / 1.001 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/0.7586, allocations: 70.47 kB / 1.001 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.7587, allocations: 31.62 kB / 1.001 GB, free: 1.566 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.7591, allocations: 301.8 kB / 1.002 GB, free: 1.234 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.7591, allocations: 20.44 kB / 1.002 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.7591, allocations: 24 kB / 1.002 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.7596, allocations: 261.4 kB / 1.002 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.7597, allocations: 7.875 kB / 1.002 GB, free: 0.9141 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.7597, allocations: 12 kB / 1.002 GB, free: 0.9023 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.7597, allocations: 4 kB / 1.002 GB, free: 0.8984 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.7602, allocations: 200.6 kB / 1.002 GB, free: 0.7031 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.001123/0.7613, allocations: 0.8316 MB / 1.003 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.7616, allocations: 153.1 kB / 1.003 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.7618, allocations: 97.66 kB / 1.003 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003496/0.7622, allocations: 498.6 kB / 1.004 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.7622, allocations: 46.5 kB / 1.004 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=12): time 3.436e-06/0.7622, allocations: 3.984 kB / 1.004 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of matching and sorting (n=12): time 0.0007198/0.763, allocations: 293.5 kB / 1.004 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.763, allocations: 81.11 kB / 1.004 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.7633, allocations: 275 kB / 1.004 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.7633, allocations: 25.7 kB / 1.004 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.7634, allocations: 168.2 kB / 1.004 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.7635, allocations: 39.39 kB / 1.004 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.7635, allocations: 4 kB / 1.004 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.7636, allocations: 334.8 kB / 1.005 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.7638, allocations: 75.94 kB / 1.005 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.764, allocations: 129.9 kB / 1.005 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.7642, allocations: 88 kB / 1.005 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7643, allocations: 4 kB / 1.005 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004629/0.7647, allocations: 229.2 kB / 1.005 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.7647, allocations: 4 kB / 1.005 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.7648, allocations: 3.938 kB / 1.005 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.7648, allocations: 4 kB / 1.005 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.765, allocations: 75.97 kB / 1.005 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7651, allocations: 0 / 1.005 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.7653, allocations: 35.81 kB / 1.005 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.7653, allocations: 12 kB / 1.005 GB, free: 12.96 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.000116/0.7654, allocations: 141.8 kB / 1.006 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.501e-05/0.7655, allocations: 27.67 kB / 1.006 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.7658, allocations: 187.2 kB / 1.006 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.7658, allocations: 4 kB / 1.006 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7658, allocations: 0 / 1.006 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.7658, allocations: 7.938 kB / 1.006 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007014/0.7665, allocations: 0.599 MB / 1.006 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.7665, allocations: 4 kB / 1.006 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.7668, allocations: 60.08 kB / 1.006 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.7668, allocations: 4 kB / 1.006 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.7668, allocations: 7.984 kB / 1.006 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.7668, allocations: 4 kB / 1.006 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7668, allocations: 0 / 1.006 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/0.7674, allocations: 464.3 kB / 1.007 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 9.703e-05/0.7675, allocations: 120.7 kB / 1.007 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.7676, allocations: 8 kB / 1.007 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.7678, allocations: 31.88 kB / 1.007 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.7679, allocations: 15.92 kB / 1.007 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.7679, allocations: 11.98 kB / 1.007 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000164/0.7681, allocations: 190 kB / 1.007 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7681, allocations: 0 / 1.007 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004206/0.7685, allocations: 87.84 kB / 1.007 GB, free: 10.88 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.001102/0.7696, allocations: 1.088 MB / 1.008 GB, free: 9.758 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.7701, allocations: 195.7 kB / 1.009 GB, free: 9.566 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7701, allocations: 0 / 1.009 GB, free: 9.566 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.7704, allocations: 120.2 kB / 1.009 GB, free: 9.449 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007751/0.7711, allocations: 115.3 kB / 1.009 GB, free: 9.34 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.7735, allocations: 1.563 MB / 1.01 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.7738, allocations: 0.7716 MB / 1.011 GB, free: 6.914 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.774, allocations: 58.27 kB / 1.011 GB, free: 6.859 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.7741, allocations: 83.41 kB / 1.011 GB, free: 6.777 MB / 0.7637 GB Notification: Performance of SimCode: time 2.8e-07/0.7741, allocations: 4 kB / 1.011 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.7928, allocations: 7.53 MB / 1.019 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.7931, allocations: 243.4 kB / 1.019 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/2.834, allocations: 0 / 1.019 GB, free: 15.18 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