Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",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.0009472/0.0009472, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007641/0.007641, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.687/2.687, allocations: 462.6 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 13.69 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3035, allocations: 159.6 MB / 1.059 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01465/0.3182, allocations: 14.49 MB / 1.073 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005405/0.3237, allocations: 3.877 MB / 1.077 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00065/0.3243, allocations: 15.94 kB / 1.077 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006205/0.325, allocations: 151.1 kB / 1.077 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.3269, allocations: 0.6251 MB / 1.077 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.3281, allocations: 417.2 kB / 1.078 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.3299, allocations: 1.372 MB / 1.079 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004595/0.3304, allocations: 236.8 kB / 1.079 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008364/0.3313, allocations: 370.4 kB / 1.08 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.3318, allocations: 262.7 kB / 1.08 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.3319, allocations: 12 kB / 1.08 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.3332, allocations: 0.69 MB / 1.081 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.3334, allocations: 63.67 kB / 1.081 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.3337, allocations: 200.7 kB / 1.081 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.3351, allocations: 0.7049 MB / 1.082 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3351, allocations: 0 / 1.082 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3351, allocations: 0 / 1.082 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.3351, allocations: 0 / 1.082 GB, free: 13.29 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001248/0.3364, allocations: 0.6814 MB / 1.082 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.3364, allocations: 19.97 kB / 1.082 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.441e-05/0.3365, allocations: 46.73 kB / 1.082 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.3366, allocations: 44.47 kB / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.3377, allocations: 0.4976 MB / 1.083 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3377, allocations: 16.33 kB / 1.083 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.3377, allocations: 16 kB / 1.083 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.3381, allocations: 184.1 kB / 1.083 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3382, allocations: 0 / 1.083 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.3382, allocations: 8 kB / 1.083 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.3382, allocations: 4 kB / 1.083 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003505/0.3385, allocations: 148.2 kB / 1.083 GB, free: 11.53 MB / 0.8419 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.001355/0.3399, allocations: 0.8761 MB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.3402, allocations: 122.6 kB / 1.084 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.3404, allocations: 80.75 kB / 1.084 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000357/0.3407, allocations: 332.4 kB / 1.085 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3408, allocations: 38.5 kB / 1.085 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/0.3408, allocations: 3.938 kB / 1.085 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0005853/0.3414, allocations: 229.2 kB / 1.085 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3414, allocations: 55.41 kB / 1.085 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.3418, allocations: 349.7 kB / 1.085 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.3418, allocations: 29.64 kB / 1.085 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.342, allocations: 196.2 kB / 1.086 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.342, allocations: 35.45 kB / 1.086 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.342, allocations: 21.7 kB / 1.086 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3422, allocations: 338.8 kB / 1.086 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.3423, allocations: 59.89 kB / 1.086 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.3425, allocations: 100.2 kB / 1.086 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.3428, allocations: 121.7 kB / 1.086 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3428, allocations: 0 / 1.086 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003687/0.3432, allocations: 201 kB / 1.086 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.825e-05/0.3432, allocations: 101.8 kB / 1.086 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3432, allocations: 0 / 1.086 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3432, allocations: 4 kB / 1.086 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.3434, allocations: 23.98 kB / 1.086 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3434, allocations: 0 / 1.086 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.3436, allocations: 31.91 kB / 1.087 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.3437, allocations: 12 kB / 1.087 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-06/0.3437, allocations: 4 kB / 1.087 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002923/0.344, allocations: 123.9 kB / 1.087 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.344, allocations: 0 / 1.087 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-06/0.344, allocations: 4 kB / 1.087 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3441, allocations: 35.95 kB / 1.087 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3441, allocations: 7.969 kB / 1.087 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.3443, allocations: 27.89 kB / 1.087 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.3444, allocations: 7.984 kB / 1.087 GB, free: 7.723 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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 0.0001531/0.3445, allocations: 217.1 kB / 1.087 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.3446, allocations: 39.62 kB / 1.087 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.3451, allocations: 241 kB / 1.087 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.3451, allocations: 11.98 kB / 1.087 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3451, allocations: 0 / 1.087 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3451, allocations: 0 / 1.087 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/0.346, allocations: 0.6451 MB / 1.088 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3461, allocations: 0 / 1.088 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.3462, allocations: 31.92 kB / 1.088 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3462, allocations: 4 kB / 1.088 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3462, allocations: 96 / 1.088 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3462, allocations: 8 kB / 1.088 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.3462, allocations: 3.984 kB / 1.088 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.3467, allocations: 325.5 kB / 1.088 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.3468, allocations: 128.6 kB / 1.088 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.3469, allocations: 4 kB / 1.088 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.3471, allocations: 31.91 kB / 1.088 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.3472, allocations: 11.98 kB / 1.088 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3472, allocations: 8.062 kB / 1.088 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002562/0.3474, allocations: 247.2 kB / 1.089 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3474, allocations: 0 / 1.089 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006354/0.3481, allocations: 183.7 kB / 1.089 GB, free: 5.488 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001246/0.3493, allocations: 1.014 MB / 1.09 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005151/0.3499, allocations: 215.6 kB / 1.09 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3499, allocations: 0 / 1.09 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.3501, allocations: 79.89 kB / 1.09 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000848/0.3509, allocations: 138.8 kB / 1.09 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.3544, allocations: 2.899 MB / 1.093 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.3547, allocations: 0.7882 MB / 1.094 GB, free: 212 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002432/0.355, allocations: 75.58 kB / 1.094 GB, free: 140 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.3551, allocations: 119.4 kB / 1.094 GB, free: 20 kB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.3551, allocations: 0 / 1.094 GB, free: 20 kB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.3754, allocations: 9.466 MB / 1.103 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.3756, allocations: 266.8 kB / 1.103 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.362, allocations: 0 / 1.103 GB, free: 6.52 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches