Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_9_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.0008448/0.0008447, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005183/0.005183, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.234/1.234, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6568/0.6572, allocations: 142.4 MB / 0.9552 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0158/0.673, allocations: 14.48 MB / 0.9693 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005719/0.6788, allocations: 3.873 MB / 0.9731 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004882/0.6793, allocations: 19.91 kB / 0.9731 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005625/0.6799, allocations: 147.8 kB / 0.9732 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.6816, allocations: 0.6195 MB / 0.9738 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.6829, allocations: 425.1 kB / 0.9743 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001773/0.6846, allocations: 1.373 MB / 0.9756 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003791/0.685, allocations: 234.2 kB / 0.9758 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006999/0.6857, allocations: 368.6 kB / 0.9762 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.6861, allocations: 266.7 kB / 0.9764 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.6861, allocations: 11.53 kB / 0.9764 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.6874, allocations: 0.6898 MB / 0.9771 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.6875, allocations: 68.14 kB / 0.9772 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.6877, allocations: 204.3 kB / 0.9774 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009599/0.6887, allocations: 0.6962 MB / 0.978 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6887, allocations: 0 / 0.978 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6887, allocations: 0 / 0.978 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6887, allocations: 1 kB / 0.978 GB, free: 5.934 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001095/0.6898, allocations: 0.6835 MB / 0.9787 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.6899, allocations: 8.969 kB / 0.9787 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.078e-05/0.6899, allocations: 53.2 kB / 0.9788 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.741e-05/0.69, allocations: 41.72 kB / 0.9788 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008564/0.6909, allocations: 0.5042 MB / 0.9793 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.6909, allocations: 16.2 kB / 0.9793 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.6909, allocations: 15.69 kB / 0.9793 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.6913, allocations: 188.2 kB / 0.9795 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.6914, allocations: 5.469 kB / 0.9795 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.6914, allocations: 13.45 kB / 0.9795 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.6914, allocations: 3.25 kB / 0.9795 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.6917, allocations: 146.6 kB / 0.9797 GB, free: 4.605 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.001109/0.6928, allocations: 0.8616 MB / 0.9805 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.6931, allocations: 121.2 kB / 0.9806 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.6933, allocations: 82.92 kB / 0.9807 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/0.6936, allocations: 331.9 kB / 0.981 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.6937, allocations: 39.22 kB / 0.9811 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.6937, allocations: 1.125 kB / 0.9811 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.000567/0.6942, allocations: 235.5 kB / 0.9813 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.6943, allocations: 52.5 kB / 0.9813 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.6947, allocations: 347.9 kB / 0.9817 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.6947, allocations: 26.92 kB / 0.9817 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.6948, allocations: 198.7 kB / 0.9819 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.6949, allocations: 45.58 kB / 0.9819 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.695, allocations: 15.47 kB / 0.9819 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6951, allocations: 346.7 kB / 0.9823 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.6953, allocations: 45.31 kB / 0.9823 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.6955, allocations: 99.7 kB / 0.9824 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.6958, allocations: 123.4 kB / 0.9825 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6958, allocations: 5.438 kB / 0.9825 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003826/0.6962, allocations: 182 kB / 0.9827 GB, free: 2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/0.6963, allocations: 112.2 kB / 0.9828 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.6963, allocations: 4.953 kB / 0.9828 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.6963, allocations: 5.312 kB / 0.9828 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.6965, allocations: 25.2 kB / 0.9829 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.6965, allocations: 1.375 kB / 0.9829 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.6967, allocations: 35 kB / 0.9829 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.6968, allocations: 9.438 kB / 0.9829 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.741e-06/0.6968, allocations: 6.938 kB / 0.9829 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002889/0.6971, allocations: 119.4 kB / 0.983 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.6971, allocations: 192 / 0.983 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-06/0.6971, allocations: 5.594 kB / 0.983 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.6972, allocations: 41.42 kB / 0.9831 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-06/0.6972, allocations: 0 / 0.9831 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.6974, allocations: 32.66 kB / 0.9831 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.6974, allocations: 3.125 kB / 0.9831 GB, free: 1.762 MB / 0.7325 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.0001592/0.6976, allocations: 230.4 kB / 0.9833 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.6977, allocations: 32.66 kB / 0.9833 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.6981, allocations: 238.3 kB / 0.9836 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.6982, allocations: 9.297 kB / 0.9836 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6982, allocations: 1.344 kB / 0.9836 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6982, allocations: 0 / 0.9836 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000869/0.6991, allocations: 0.6398 MB / 0.9842 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6991, allocations: 1.438 kB / 0.9842 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.6992, allocations: 25.67 kB / 0.9842 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.6992, allocations: 1.125 kB / 0.9842 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.6992, allocations: 2.719 kB / 0.9842 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.6992, allocations: 5.188 kB / 0.9842 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6992, allocations: 1.156 kB / 0.9842 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.6997, allocations: 335.1 kB / 0.9846 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.6998, allocations: 130.8 kB / 0.9847 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.6999, allocations: 6.781 kB / 0.9847 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.7001, allocations: 21.69 kB / 0.9847 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.7002, allocations: 18.27 kB / 0.9847 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.7002, allocations: 8.5 kB / 0.9847 GB, free: 436 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002356/0.7004, allocations: 253.4 kB / 0.985 GB, free: 248 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7004, allocations: 0 / 0.985 GB, free: 248 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006157/0.701, allocations: 191.6 kB / 0.9852 GB, free: 56 kB / 0.7325 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.001107/0.7022, allocations: 1.002 MB / 0.9861 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.7027, allocations: 203.8 kB / 0.9863 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.7027, allocations: 4 kB / 0.9863 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.7028, allocations: 79.89 kB / 0.9864 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008634/0.7037, allocations: 139.2 kB / 0.9866 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/0.7071, allocations: 2.91 MB / 0.9894 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.7075, allocations: 0.7921 MB / 0.9902 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002603/0.7078, allocations: 83.42 kB / 0.9902 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.7079, allocations: 111.4 kB / 0.9904 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of SimCode: time 1.062e-06/0.7079, allocations: 3.938 kB / 0.9904 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.73, allocations: 9.466 MB / 0.9996 GB, free: 1.348 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/0.7303, allocations: 250.3 kB / 0.9998 GB, free: 1.094 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.69, allocations: 0 / 0.9998 GB, free: 1.094 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches