Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.0008452/0.0008452, allocations: 90.52 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.005301/0.005301, allocations: 171 kB / 16.26 MB, free: 6.676 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.562/2.562, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003412, allocations: 8.438 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2768, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1581/0.4349, allocations: 157.2 MB / 1.212 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002781/0.4377, allocations: 1.704 MB / 1.214 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.438, allocations: 7.938 kB / 1.214 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.4386, allocations: 127.2 kB / 1.214 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.4397, allocations: 494 kB / 1.215 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.4408, allocations: 377.4 kB / 1.215 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009401/0.4418, allocations: 0.7603 MB / 1.216 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.4421, allocations: 152.5 kB / 1.216 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006248/0.4427, allocations: 290.8 kB / 1.216 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.443, allocations: 155.3 kB / 1.216 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.4431, allocations: 12 kB / 1.216 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.4442, allocations: 0.7678 MB / 1.217 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.4443, allocations: 83.64 kB / 1.217 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.4445, allocations: 133.1 kB / 1.217 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000742/0.4452, allocations: 0.5023 MB / 1.218 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4452, allocations: 0 / 1.218 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4452, allocations: 0 / 1.218 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.4452, allocations: 0 / 1.218 GB, free: 1.535 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007795/0.446, allocations: 0.545 MB / 1.218 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4461, allocations: 15.97 kB / 1.218 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.677e-05/0.4461, allocations: 54.42 kB / 1.218 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003254/0.4465, allocations: 51.67 kB / 1.218 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.4468, allocations: 289.4 kB / 1.219 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.4469, allocations: 11.94 kB / 1.219 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.4469, allocations: 19.94 kB / 1.219 GB, free: 468 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.4473, allocations: 192.7 kB / 1.219 GB, free: 260 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4473, allocations: 3.984 kB / 1.219 GB, free: 256 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.4473, allocations: 4 kB / 1.219 GB, free: 252 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.4473, allocations: 4 kB / 1.219 GB, free: 248 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.4476, allocations: 143.8 kB / 1.219 GB, free: 104 kB / 0.9669 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.001008/0.4486, allocations: 0.7886 MB / 1.22 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.4489, allocations: 90.47 kB / 1.22 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.4491, allocations: 84.86 kB / 1.22 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/0.4494, allocations: 186.2 kB / 1.22 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.4494, allocations: 38.56 kB / 1.22 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.4494, allocations: 0 / 1.22 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.000678/0.4501, allocations: 237.2 kB / 1.22 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.4501, allocations: 51.41 kB / 1.22 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.4504, allocations: 271 kB / 1.221 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4505, allocations: 29.7 kB / 1.221 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/0.4505, allocations: 151.8 kB / 1.221 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.4506, allocations: 31.55 kB / 1.221 GB, free: 14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.4506, allocations: 17.72 kB / 1.221 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4507, allocations: 330.8 kB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.4509, allocations: 47.97 kB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.4511, allocations: 97.11 kB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.4513, allocations: 135.3 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4514, allocations: 0 / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003576/0.4517, allocations: 169.3 kB / 1.222 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.501e-05/0.4518, allocations: 116.1 kB / 1.222 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4518, allocations: 4.031 kB / 1.222 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4518, allocations: 4 kB / 1.222 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.452, allocations: 23.92 kB / 1.222 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.452, allocations: 4 kB / 1.222 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.4522, allocations: 31.77 kB / 1.222 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.4522, allocations: 11.92 kB / 1.222 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/0.4522, allocations: 8 kB / 1.222 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002914/0.4525, allocations: 112.2 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4525, allocations: 8 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-06/0.4525, allocations: 3.984 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.4526, allocations: 32 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.4527, allocations: 3.938 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.4528, allocations: 31.81 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.4529, allocations: 7.984 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001435/0.453, allocations: 217.1 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.4531, allocations: 23.72 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.4535, allocations: 175.3 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4535, allocations: 3.938 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4535, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4535, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008852/0.4544, allocations: 0.6054 MB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.4544, allocations: 3.984 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.4545, allocations: 23.98 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.4545, allocations: 4 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4545, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4545, allocations: 4 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4546, allocations: 7.938 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.4549, allocations: 305.3 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.4551, allocations: 120.7 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.4551, allocations: 4 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.4553, allocations: 15.98 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.4554, allocations: 19.92 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.4554, allocations: 4 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001767/0.4556, allocations: 197.9 kB / 1.224 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.493e-06/0.4556, allocations: 0 / 1.224 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004489/0.456, allocations: 95.97 kB / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0008883/0.4569, allocations: 0.894 MB / 1.225 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000481/0.4574, allocations: 183.8 kB / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4574, allocations: 0 / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.4576, allocations: 72.39 kB / 1.225 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00092/0.4585, allocations: 124.7 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.4613, allocations: 2.451 MB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.4617, allocations: 0.7599 MB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002385/0.4619, allocations: 74.81 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.462, allocations: 67.42 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.462, allocations: 4 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.4793, allocations: 6.528 MB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.4795, allocations: 252.3 kB / 1.235 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.278, allocations: 64 / 1.235 GB, free: 15.39 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches