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 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.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.00779/0.00779, allocations: 98.97 kB / 15.73 MB, free: 6.043 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.002096/0.002096, allocations: 199.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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.621/2.621, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 67.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2582, allocations: 162.3 MB / 1.242 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.4887/0.7469, allocations: 15.06 MB / 1.257 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00409/0.751, allocations: 3.893 MB / 1.26 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003102/0.7513, allocations: 17.88 kB / 1.26 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.7518, allocations: 185.7 kB / 1.261 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.7531, allocations: 0.6809 MB / 1.261 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.7542, allocations: 473.6 kB / 1.262 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001117/0.7553, allocations: 1.068 MB / 1.263 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.7557, allocations: 292.2 kB / 1.263 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006193/0.7563, allocations: 457.7 kB / 1.263 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.7566, allocations: 262.5 kB / 1.264 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.7566, allocations: 21.03 kB / 1.264 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009948/0.7576, allocations: 0.7222 MB / 1.264 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.7577, allocations: 69.86 kB / 1.264 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.7579, allocations: 189.4 kB / 1.265 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009436/0.7588, allocations: 0.7146 MB / 1.265 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7588, allocations: 4.719 kB / 1.265 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7588, allocations: 0 / 1.265 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7588, allocations: 0 / 1.265 GB, free: 3.598 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008709/0.7597, allocations: 0.7647 MB / 1.266 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.7597, allocations: 8.75 kB / 1.266 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.7598, allocations: 48.44 kB / 1.266 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.658e-05/0.7599, allocations: 46.44 kB / 1.266 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007934/0.7607, allocations: 0.5089 MB / 1.267 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.7607, allocations: 19.95 kB / 1.267 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.7607, allocations: 17.34 kB / 1.267 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.7611, allocations: 175.5 kB / 1.267 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7611, allocations: 0 / 1.267 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.7611, allocations: 10.66 kB / 1.267 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.7611, allocations: 4.5 kB / 1.267 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.7614, allocations: 141.5 kB / 1.267 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008071/0.7622, allocations: 0.8604 MB / 1.268 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.7624, allocations: 123.2 kB / 1.268 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.7626, allocations: 73.41 kB / 1.268 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.7628, allocations: 334.3 kB / 1.268 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.7628, allocations: 33.97 kB / 1.268 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.7628, allocations: 0 / 1.268 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.000474/0.7633, allocations: 223.8 kB / 1.269 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.673e-05/0.7633, allocations: 51.92 kB / 1.269 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.7636, allocations: 347.8 kB / 1.269 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.7636, allocations: 32.11 kB / 1.269 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.7637, allocations: 201.2 kB / 1.269 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.7637, allocations: 42.84 kB / 1.269 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.7638, allocations: 35.09 kB / 1.269 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.046e-05/0.7638, allocations: 345 kB / 1.27 GB, free: 304 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.764, allocations: 49.78 kB / 1.27 GB, free: 284 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.7641, allocations: 90.25 kB / 1.27 GB, free: 228 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.7643, allocations: 122.1 kB / 1.27 GB, free: 176 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7644, allocations: 7.812 kB / 1.27 GB, free: 172 kB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003051/0.7647, allocations: 175.9 kB / 1.27 GB, free: 88 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.7647, allocations: 11.44 kB / 1.27 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.7647, allocations: 0 / 1.27 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.7647, allocations: 2.188 kB / 1.27 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.7648, allocations: 23.62 kB / 1.27 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.7649, allocations: 1.688 kB / 1.27 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.765, allocations: 27.56 kB / 1.27 GB, free: 72 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.765, allocations: 4.625 kB / 1.27 GB, free: 72 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001977/0.7652, allocations: 154.3 kB / 1.27 GB, free: 15.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001467/0.7654, allocations: 92.5 kB / 1.27 GB, free: 15.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000233/0.7656, allocations: 112.9 kB / 1.27 GB, free: 15.86 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.42e-07/0.7657, allocations: 0 / 1.27 GB, free: 15.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003192/0.766, allocations: 172.3 kB / 1.271 GB, free: 15.78 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/0.766, allocations: 6.094 kB / 1.271 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.766, allocations: 3.438 kB / 1.271 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-06/0.766, allocations: 12.38 kB / 1.271 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.7661, allocations: 26.55 kB / 1.271 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-06/0.7661, allocations: 0 / 1.271 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.7663, allocations: 25.95 kB / 1.271 GB, free: 15.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.7663, allocations: 4.312 kB / 1.271 GB, free: 15.76 MB / 1.014 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.0001003/0.7664, allocations: 188.4 kB / 1.271 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.7665, allocations: 37.61 kB / 1.271 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004468/0.7669, allocations: 233.3 kB / 1.271 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.7669, allocations: 6.562 kB / 1.271 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7669, allocations: 0.875 kB / 1.271 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.767, allocations: 3.625 kB / 1.271 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008243/0.7678, allocations: 0.6348 MB / 1.272 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.7678, allocations: 0 / 1.272 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.7679, allocations: 24.19 kB / 1.272 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.7679, allocations: 5.344 kB / 1.272 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.7679, allocations: 10.64 kB / 1.272 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.768, allocations: 2.875 kB / 1.272 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.768, allocations: 0 / 1.272 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.7684, allocations: 324.1 kB / 1.272 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.7685, allocations: 127.1 kB / 1.272 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.7685, allocations: 7.359 kB / 1.272 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.7687, allocations: 11.89 kB / 1.272 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.7688, allocations: 13.47 kB / 1.272 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.7688, allocations: 5.016 kB / 1.272 GB, free: 14.63 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002374/0.769, allocations: 250.8 kB / 1.273 GB, free: 14.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.769, allocations: 0 / 1.273 GB, free: 14.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000533/0.7696, allocations: 193.9 kB / 1.273 GB, free: 14.45 MB / 1.014 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.001049/0.7706, allocations: 0.9914 MB / 1.274 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004645/0.7711, allocations: 200 kB / 1.274 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7711, allocations: 0 / 1.274 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.7713, allocations: 77.34 kB / 1.274 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.7721, allocations: 155.5 kB / 1.274 GB, free: 13.53 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.7751, allocations: 2.748 MB / 1.277 GB, free: 11.74 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.7755, allocations: 0.7921 MB / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002042/0.7757, allocations: 80.77 kB / 1.278 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.7759, allocations: 116.6 kB / 1.278 GB, free: 10.93 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.7759, allocations: 0 / 1.278 GB, free: 10.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7428/1.519, allocations: 10.07 MB / 1.288 GB, free: 9.871 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.77, allocations: 4.078 kB / 1.288 GB, free: 9.871 MB / 1.014 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=400 --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