Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_10_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.001171/0.001171, allocations: 108 kB / 15.6 MB, free: 132 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.001458/0.001458, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.91 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6953, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01673/0.7121, allocations: 15.05 MB / 1.032 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005636/0.7178, allocations: 3.888 MB / 1.036 GB, free: 15.46 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000702/0.7185, allocations: 19.88 kB / 1.036 GB, free: 15.45 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006837/0.7193, allocations: 194.7 kB / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.7212, allocations: 0.6772 MB / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.7227, allocations: 479 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001575/0.7243, allocations: 1.078 MB / 1.038 GB, free: 13.03 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005605/0.7249, allocations: 285.5 kB / 1.039 GB, free: 12.75 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008136/0.7257, allocations: 398.5 kB / 1.039 GB, free: 12.36 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00047/0.7262, allocations: 266.8 kB / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.655e-05/0.7263, allocations: 20 kB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.7276, allocations: 0.7134 MB / 1.04 GB, free: 11.36 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.7277, allocations: 75.73 kB / 1.04 GB, free: 11.29 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.728, allocations: 187 kB / 1.04 GB, free: 11.1 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.7292, allocations: 0.7089 MB / 1.041 GB, free: 10.39 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7292, allocations: 4 kB / 1.041 GB, free: 10.39 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7292, allocations: 0 / 1.041 GB, free: 10.39 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.7293, allocations: 0 / 1.041 GB, free: 10.39 MB / 0.795 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.001286/0.7305, allocations: 0.7435 MB / 1.042 GB, free: 9.594 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.7306, allocations: 8.031 kB / 1.042 GB, free: 9.586 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.027e-05/0.7307, allocations: 50.73 kB / 1.042 GB, free: 9.527 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.7308, allocations: 48.38 kB / 1.042 GB, free: 9.48 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009621/0.7317, allocations: 0.4977 MB / 1.042 GB, free: 8.941 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.7318, allocations: 12.33 kB / 1.042 GB, free: 8.93 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.7318, allocations: 20 kB / 1.042 GB, free: 8.91 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.7322, allocations: 180.1 kB / 1.042 GB, free: 8.73 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.7322, allocations: 4 kB / 1.042 GB, free: 8.727 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.7322, allocations: 8 kB / 1.042 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.7323, allocations: 4 kB / 1.042 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.7326, allocations: 135.8 kB / 1.043 GB, free: 8.582 MB / 0.795 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.001179/0.7338, allocations: 0.8722 MB / 1.043 GB, free: 7.609 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.7341, allocations: 118.6 kB / 1.043 GB, free: 7.484 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.7342, allocations: 76.75 kB / 1.044 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003581/0.7346, allocations: 332.4 kB / 1.044 GB, free: 7.008 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.7346, allocations: 46.42 kB / 1.044 GB, free: 6.953 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.7347, allocations: 0 / 1.044 GB, free: 6.953 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0005919/0.7353, allocations: 217.2 kB / 1.044 GB, free: 6.734 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.7353, allocations: 51.41 kB / 1.044 GB, free: 6.672 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.7357, allocations: 345.7 kB / 1.044 GB, free: 6.328 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.7357, allocations: 29.7 kB / 1.045 GB, free: 6.293 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.7358, allocations: 192.3 kB / 1.045 GB, free: 6.102 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.7359, allocations: 39.39 kB / 1.045 GB, free: 6.062 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.736, allocations: 33.7 kB / 1.045 GB, free: 6.023 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7361, allocations: 346.8 kB / 1.045 GB, free: 5.676 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.7362, allocations: 52.77 kB / 1.045 GB, free: 5.621 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.7364, allocations: 92.62 kB / 1.045 GB, free: 5.516 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.7367, allocations: 121.6 kB / 1.045 GB, free: 5.391 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7367, allocations: 0 / 1.045 GB, free: 5.391 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003834/0.7371, allocations: 173.2 kB / 1.046 GB, free: 5.215 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.7371, allocations: 7.938 kB / 1.046 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.7371, allocations: 4 kB / 1.046 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.7371, allocations: 0 / 1.046 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.7373, allocations: 27.97 kB / 1.046 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.7373, allocations: 7.938 kB / 1.046 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.7375, allocations: 19.89 kB / 1.046 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.7375, allocations: 4 kB / 1.046 GB, free: 5.145 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000233/0.7378, allocations: 156.1 kB / 1.046 GB, free: 4.988 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001523/0.7379, allocations: 84.23 kB / 1.046 GB, free: 4.891 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002484/0.7382, allocations: 121.8 kB / 1.046 GB, free: 4.766 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.7382, allocations: 0 / 1.046 GB, free: 4.766 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003515/0.7386, allocations: 173.2 kB / 1.046 GB, free: 4.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.7386, allocations: 8 kB / 1.046 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.7386, allocations: 7.938 kB / 1.046 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-06/0.7386, allocations: 0 / 1.046 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.7387, allocations: 27.98 kB / 1.046 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.7387, allocations: 0 / 1.046 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.7389, allocations: 19.88 kB / 1.046 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.7389, allocations: 11.94 kB / 1.046 GB, free: 4.516 MB / 0.795 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.0001072/0.7391, allocations: 192.1 kB / 1.046 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.7391, allocations: 39.56 kB / 1.046 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004817/0.7396, allocations: 223.4 kB / 1.047 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.7396, allocations: 0 / 1.047 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.7396, allocations: 0 / 1.047 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.7396, allocations: 4 kB / 1.047 GB, free: 4.055 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008516/0.7405, allocations: 0.6373 MB / 1.047 GB, free: 3.352 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.7405, allocations: 0 / 1.047 GB, free: 3.352 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.7406, allocations: 23.98 kB / 1.047 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7406, allocations: 0 / 1.047 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.7407, allocations: 4 kB / 1.047 GB, free: 3.324 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.7407, allocations: 0 / 1.047 GB, free: 3.324 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7407, allocations: 7.938 kB / 1.047 GB, free: 3.316 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.7411, allocations: 317.5 kB / 1.048 GB, free: 2.98 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.7412, allocations: 132.5 kB / 1.048 GB, free: 2.832 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.7413, allocations: 4 kB / 1.048 GB, free: 2.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.7415, allocations: 15.97 kB / 1.048 GB, free: 2.812 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.7415, allocations: 16.08 kB / 1.048 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.7416, allocations: 11.94 kB / 1.048 GB, free: 2.785 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002411/0.7418, allocations: 255 kB / 1.048 GB, free: 2.543 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7418, allocations: 0 / 1.048 GB, free: 2.543 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005839/0.7424, allocations: 183.7 kB / 1.048 GB, free: 2.363 MB / 0.795 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.001235/0.7437, allocations: 0.9894 MB / 1.049 GB, free: 1.348 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005419/0.7442, allocations: 207.7 kB / 1.049 GB, free: 1.145 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7442, allocations: 0 / 1.049 GB, free: 1.145 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.7444, allocations: 75.89 kB / 1.049 GB, free: 1.07 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008559/0.7453, allocations: 147.9 kB / 1.05 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/0.7488, allocations: 2.736 MB / 1.052 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.7492, allocations: 0.7957 MB / 1.053 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002796/0.7495, allocations: 78.83 kB / 1.053 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.7496, allocations: 107.4 kB / 1.053 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.7496, allocations: 0 / 1.053 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.346/2.096, allocations: 9.984 MB / 1.063 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.272/11.37, allocations: 10.2 kB / 1.063 GB, free: 3.289 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches