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.007647/0.007647, allocations: 106.9 kB / 15.74 MB, free: 6.055 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.001572/0.001572, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.456/2.456, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.89 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8375/0.8388, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01588/0.8547, allocations: 15.05 MB / 1.181 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005517/0.8603, allocations: 3.876 MB / 1.185 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006219/0.8609, allocations: 23.88 kB / 1.185 GB, free: 0.7422 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000674/0.8616, allocations: 194.7 kB / 1.185 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.8637, allocations: 0.7089 MB / 1.186 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.865, allocations: 476.3 kB / 1.186 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.8663, allocations: 1.086 MB / 1.187 GB, free: 14.29 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.8668, allocations: 285.5 kB / 1.187 GB, free: 14 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006983/0.8675, allocations: 414.4 kB / 1.188 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.8678, allocations: 262.8 kB / 1.188 GB, free: 13.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.8679, allocations: 20 kB / 1.188 GB, free: 13.32 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.8691, allocations: 0.7212 MB / 1.189 GB, free: 12.6 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.145e-05/0.8692, allocations: 75.67 kB / 1.189 GB, free: 12.52 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.8694, allocations: 183 kB / 1.189 GB, free: 12.34 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009812/0.8704, allocations: 0.7245 MB / 1.19 GB, free: 11.62 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.8704, allocations: 0 / 1.19 GB, free: 11.62 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8704, allocations: 0 / 1.19 GB, free: 11.62 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.8704, allocations: 0 / 1.19 GB, free: 11.62 MB / 0.92 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.001113/0.8715, allocations: 0.7512 MB / 1.19 GB, free: 10.81 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.8716, allocations: 16.86 kB / 1.19 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.713e-05/0.8716, allocations: 46.73 kB / 1.19 GB, free: 10.74 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.14e-05/0.8717, allocations: 40.47 kB / 1.19 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009531/0.8727, allocations: 0.5094 MB / 1.191 GB, free: 10.15 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.8727, allocations: 20.33 kB / 1.191 GB, free: 10.13 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.8728, allocations: 19.94 kB / 1.191 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.8731, allocations: 176.2 kB / 1.191 GB, free: 9.938 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.8731, allocations: 0 / 1.191 GB, free: 9.938 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.8732, allocations: 8 kB / 1.191 GB, free: 9.93 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.8732, allocations: 4 kB / 1.191 GB, free: 9.926 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.8735, allocations: 140.2 kB / 1.191 GB, free: 9.789 MB / 0.92 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.001093/0.8746, allocations: 0.8566 MB / 1.192 GB, free: 8.832 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.8749, allocations: 118.6 kB / 1.192 GB, free: 8.707 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.875, allocations: 80.75 kB / 1.192 GB, free: 8.625 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/0.8753, allocations: 336.4 kB / 1.193 GB, free: 8.223 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.8754, allocations: 34.5 kB / 1.193 GB, free: 8.18 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.8754, allocations: 0 / 1.193 GB, free: 8.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0005394/0.8759, allocations: 225 kB / 1.193 GB, free: 7.953 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.876, allocations: 51.41 kB / 1.193 GB, free: 7.891 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.8763, allocations: 349.7 kB / 1.193 GB, free: 7.539 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.8763, allocations: 29.7 kB / 1.193 GB, free: 7.504 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.8765, allocations: 188.4 kB / 1.194 GB, free: 7.316 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.8765, allocations: 39.39 kB / 1.194 GB, free: 7.277 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.8766, allocations: 41.55 kB / 1.194 GB, free: 7.23 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.8768, allocations: 342.8 kB / 1.194 GB, free: 6.887 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.8769, allocations: 52.81 kB / 1.194 GB, free: 6.832 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.8771, allocations: 88.25 kB / 1.194 GB, free: 6.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.8774, allocations: 113.6 kB / 1.194 GB, free: 6.613 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8774, allocations: 4.062 kB / 1.194 GB, free: 6.609 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003891/0.8778, allocations: 185.1 kB / 1.194 GB, free: 6.422 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.8778, allocations: 11.94 kB / 1.194 GB, free: 6.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8778, allocations: 0 / 1.194 GB, free: 6.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.8778, allocations: 0 / 1.194 GB, free: 6.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.878, allocations: 27.92 kB / 1.194 GB, free: 6.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.878, allocations: 0 / 1.194 GB, free: 6.383 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.8782, allocations: 23.89 kB / 1.194 GB, free: 6.359 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.8782, allocations: 11.98 kB / 1.194 GB, free: 6.348 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002113/0.8784, allocations: 152.1 kB / 1.195 GB, free: 6.195 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001622/0.8786, allocations: 84.91 kB / 1.195 GB, free: 6.098 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002309/0.8788, allocations: 113.6 kB / 1.195 GB, free: 5.98 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.8788, allocations: 0 / 1.195 GB, free: 5.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003237/0.8792, allocations: 177.2 kB / 1.195 GB, free: 5.801 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.8792, allocations: 4 kB / 1.195 GB, free: 5.797 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.8792, allocations: 3.938 kB / 1.195 GB, free: 5.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.8792, allocations: 0 / 1.195 GB, free: 5.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.8793, allocations: 27.92 kB / 1.195 GB, free: 5.766 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.8793, allocations: 0 / 1.195 GB, free: 5.766 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.8795, allocations: 23.98 kB / 1.195 GB, free: 5.742 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.8795, allocations: 7.984 kB / 1.195 GB, free: 5.734 MB / 0.92 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.0001018/0.8796, allocations: 196.1 kB / 1.195 GB, free: 5.535 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.8797, allocations: 39.47 kB / 1.195 GB, free: 5.496 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004752/0.8802, allocations: 216.9 kB / 1.195 GB, free: 5.281 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.8802, allocations: 4.188 kB / 1.195 GB, free: 5.277 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8802, allocations: 4 kB / 1.195 GB, free: 5.273 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.8802, allocations: 3.938 kB / 1.195 GB, free: 5.27 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008659/0.8811, allocations: 0.6346 MB / 1.196 GB, free: 4.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.8811, allocations: 0 / 1.196 GB, free: 4.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.8812, allocations: 23.98 kB / 1.196 GB, free: 4.547 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.8812, allocations: 12.03 kB / 1.196 GB, free: 4.535 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.8813, allocations: 7.984 kB / 1.196 GB, free: 4.527 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.8813, allocations: 4 kB / 1.196 GB, free: 4.523 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8813, allocations: 0 / 1.196 GB, free: 4.523 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.8817, allocations: 313.5 kB / 1.196 GB, free: 4.191 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.8818, allocations: 128.7 kB / 1.197 GB, free: 4.047 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.8819, allocations: 4 kB / 1.197 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.8821, allocations: 11.98 kB / 1.197 GB, free: 4.031 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.8821, allocations: 19.98 kB / 1.197 GB, free: 4.012 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.8821, allocations: 11.98 kB / 1.197 GB, free: 4 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002355/0.8824, allocations: 247.1 kB / 1.197 GB, free: 3.762 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.373e-06/0.8824, allocations: 4 kB / 1.197 GB, free: 3.758 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005818/0.883, allocations: 191.5 kB / 1.197 GB, free: 3.57 MB / 0.92 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.001123/0.8841, allocations: 0.9832 MB / 1.198 GB, free: 2.559 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004788/0.8846, allocations: 191.7 kB / 1.198 GB, free: 2.371 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8846, allocations: 4 kB / 1.198 GB, free: 2.367 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.8848, allocations: 79.83 kB / 1.198 GB, free: 2.289 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007454/0.8855, allocations: 157.6 kB / 1.198 GB, free: 2.141 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.8889, allocations: 2.722 MB / 1.201 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.8894, allocations: 0.7957 MB / 1.202 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002606/0.8896, allocations: 71.09 kB / 1.202 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.8898, allocations: 119.4 kB / 1.202 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.8898, allocations: 0 / 1.202 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.9186, allocations: 10.08 MB / 1.212 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.862, allocations: 12.62 kB / 1.212 GB, free: 4.43 MB / 0.9356 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