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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001342/0.001342, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 188.6 kB / 16.67 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003152/0.003152, allocations: 59.89 kB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3066, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.5243/0.8309, allocations: 14.77 MB / 1.256 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003602/0.8346, allocations: 3.743 MB / 1.26 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.8348, allocations: 13.34 kB / 1.26 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.8352, allocations: 167.1 kB / 1.26 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007103/0.8359, allocations: 401.6 kB / 1.26 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007102/0.8367, allocations: 330.1 kB / 1.26 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006998/0.8374, allocations: 0.7682 MB / 1.261 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003914/0.8378, allocations: 290.7 kB / 1.261 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006763/0.8385, allocations: 466.6 kB / 1.262 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.8387, allocations: 212.8 kB / 1.262 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.8387, allocations: 24.94 kB / 1.262 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003937/0.8391, allocations: 224.8 kB / 1.262 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.917e-05/0.8392, allocations: 72.33 kB / 1.262 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.8394, allocations: 140.7 kB / 1.263 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.8399, allocations: 434.8 kB / 1.263 GB, free: 5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8399, allocations: 0.7188 kB / 1.263 GB, free: 5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8399, allocations: 0 / 1.263 GB, free: 5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.8399, allocations: 0 / 1.263 GB, free: 5 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0006989/0.8406, allocations: 0.6171 MB / 1.264 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.8407, allocations: 10.31 kB / 1.264 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.8407, allocations: 55.56 kB / 1.264 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.8408, allocations: 38.39 kB / 1.264 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.8412, allocations: 339.9 kB / 1.264 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.8412, allocations: 18.03 kB / 1.264 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.8413, allocations: 23.66 kB / 1.264 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004844/0.8418, allocations: 255.2 kB / 1.264 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.8418, allocations: 0 / 1.264 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.8418, allocations: 18.62 kB / 1.264 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.8418, allocations: 4.531 kB / 1.264 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.8423, allocations: 180.5 kB / 1.264 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009762/0.8433, allocations: 0.8285 MB / 1.265 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.8436, allocations: 137.9 kB / 1.265 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.8438, allocations: 94.86 kB / 1.265 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.8441, allocations: 0.4898 MB / 1.266 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.8441, allocations: 33.23 kB / 1.266 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.8441, allocations: 0 / 1.266 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0007939/0.8449, allocations: 266.3 kB / 1.266 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.8449, allocations: 78.27 kB / 1.266 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.8452, allocations: 268.5 kB / 1.267 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.8452, allocations: 31.39 kB / 1.267 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.8453, allocations: 167.4 kB / 1.267 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.8453, allocations: 47.5 kB / 1.267 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.8454, allocations: 40.58 kB / 1.267 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.8455, allocations: 331.4 kB / 1.267 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.8457, allocations: 60.06 kB / 1.267 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.8459, allocations: 123.9 kB / 1.267 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.8464, allocations: 176.8 kB / 1.267 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.8464, allocations: 0.875 kB / 1.267 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000497/0.8469, allocations: 216.5 kB / 1.268 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.8469, allocations: 5.875 kB / 1.268 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8469, allocations: 5.562 kB / 1.268 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.8469, allocations: 2.219 kB / 1.268 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.8472, allocations: 55.47 kB / 1.268 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.8472, allocations: 0.75 kB / 1.268 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.8474, allocations: 31.64 kB / 1.268 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.8475, allocations: 7.438 kB / 1.268 GB, free: 1.438 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.867e-05/0.8476, allocations: 145.9 kB / 1.268 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.8476, allocations: 37.28 kB / 1.268 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.8479, allocations: 182.6 kB / 1.268 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.8479, allocations: 3.844 kB / 1.268 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8479, allocations: 5.344 kB / 1.268 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8479, allocations: 0 / 1.268 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006848/0.8486, allocations: 0.6001 MB / 1.269 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.8486, allocations: 1.594 kB / 1.269 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.8489, allocations: 55.75 kB / 1.269 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8489, allocations: 3.75 kB / 1.269 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.8489, allocations: 3.094 kB / 1.269 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.8489, allocations: 4.156 kB / 1.269 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.849, allocations: 0 / 1.269 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.8496, allocations: 453.4 kB / 1.269 GB, free: 16.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.8497, allocations: 125 kB / 1.269 GB, free: 16.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.8497, allocations: 4.906 kB / 1.269 GB, free: 16.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.85, allocations: 18.77 kB / 1.269 GB, free: 16.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.85, allocations: 19.98 kB / 1.269 GB, free: 16.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.85, allocations: 8.328 kB / 1.269 GB, free: 16.28 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001741/0.8502, allocations: 193.6 kB / 1.27 GB, free: 16.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8502, allocations: 4 kB / 1.27 GB, free: 16.16 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004121/0.8506, allocations: 90.86 kB / 1.27 GB, free: 16.14 MB / 1.014 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/0.8519, allocations: 1.061 MB / 1.271 GB, free: 15.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005135/0.8524, allocations: 175.4 kB / 1.271 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.8524, allocations: 0 / 1.271 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.8527, allocations: 111.6 kB / 1.271 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008001/0.8535, allocations: 121.6 kB / 1.271 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.857, allocations: 2.641 MB / 1.274 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.8575, allocations: 0.7743 MB / 1.274 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.8576, allocations: 54.55 kB / 1.274 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.8578, allocations: 93.28 kB / 1.275 GB, free: 12.54 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/0.8578, allocations: 0 / 1.275 GB, free: 12.54 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.8885, allocations: 8.124 MB / 1.283 GB, free: 11.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/9.077, allocations: 10.56 kB / 1.283 GB, free: 11.56 MB / 1.014 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches