Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.PressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_9_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.007326/0.007326, allocations: 101.1 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.001751/0.001751, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.332/2.332, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 62.47 kB / 0.9504 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2721, allocations: 140.4 MB / 1.087 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1712/0.4434, allocations: 161.5 MB / 1.245 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002833/0.4463, allocations: 1.707 MB / 1.247 GB, free: 14.29 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.4465, allocations: 7.938 kB / 1.247 GB, free: 14.28 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.4471, allocations: 159 kB / 1.247 GB, free: 14.12 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.4483, allocations: 0.5172 MB / 1.248 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.4494, allocations: 428.6 kB / 1.248 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00072/0.4501, allocations: 0.5693 MB / 1.248 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002924/0.4504, allocations: 172.5 kB / 1.249 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005625/0.451, allocations: 322.7 kB / 1.249 GB, free: 12.13 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.4512, allocations: 147.3 kB / 1.249 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.4512, allocations: 19.98 kB / 1.249 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.4522, allocations: 0.6898 MB / 1.25 GB, free: 11.27 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.858e-05/0.4524, allocations: 83.72 kB / 1.25 GB, free: 11.19 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.4525, allocations: 123.3 kB / 1.25 GB, free: 11.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006865/0.4532, allocations: 491.5 kB / 1.25 GB, free: 10.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4532, allocations: 7.938 kB / 1.25 GB, free: 10.58 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4532, allocations: 4 kB / 1.25 GB, free: 10.58 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.4532, allocations: 0 / 1.25 GB, free: 10.58 MB / 1.014 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.0007553/0.454, allocations: 0.5838 MB / 1.251 GB, free: 9.945 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.454, allocations: 8.031 kB / 1.251 GB, free: 9.938 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.4541, allocations: 46.56 kB / 1.251 GB, free: 9.883 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.4544, allocations: 55.67 kB / 1.251 GB, free: 9.828 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.4548, allocations: 309.1 kB / 1.251 GB, free: 9.488 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.4549, allocations: 12 kB / 1.251 GB, free: 9.477 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.4549, allocations: 16 kB / 1.251 GB, free: 9.461 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.4553, allocations: 200.6 kB / 1.252 GB, free: 9.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4553, allocations: 0 / 1.252 GB, free: 9.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.4553, allocations: 11.94 kB / 1.252 GB, free: 9.238 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4553, allocations: 4 kB / 1.252 GB, free: 9.234 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.4556, allocations: 123.9 kB / 1.252 GB, free: 9.113 MB / 1.014 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.001032/0.4567, allocations: 0.7808 MB / 1.253 GB, free: 8.262 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.4569, allocations: 82.53 kB / 1.253 GB, free: 8.172 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.4571, allocations: 72.88 kB / 1.253 GB, free: 8.098 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.4574, allocations: 194.1 kB / 1.253 GB, free: 7.871 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.4574, allocations: 38.5 kB / 1.253 GB, free: 7.824 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.4574, allocations: 0 / 1.253 GB, free: 7.824 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.00065/0.4581, allocations: 221.2 kB / 1.253 GB, free: 7.602 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.4581, allocations: 55.41 kB / 1.253 GB, free: 7.535 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.4584, allocations: 267 kB / 1.253 GB, free: 7.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.4584, allocations: 33.7 kB / 1.253 GB, free: 7.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.4585, allocations: 144 kB / 1.254 GB, free: 7.086 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.4585, allocations: 35.41 kB / 1.254 GB, free: 7.051 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.4586, allocations: 29.7 kB / 1.254 GB, free: 7.016 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4587, allocations: 338.8 kB / 1.254 GB, free: 6.676 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.4588, allocations: 45.2 kB / 1.254 GB, free: 6.629 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.459, allocations: 89.05 kB / 1.254 GB, free: 6.523 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.4593, allocations: 127.3 kB / 1.254 GB, free: 6.387 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4593, allocations: 0 / 1.254 GB, free: 6.387 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003344/0.4597, allocations: 161.2 kB / 1.254 GB, free: 6.223 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.4597, allocations: 8 kB / 1.254 GB, free: 6.215 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4597, allocations: 3.938 kB / 1.254 GB, free: 6.211 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4597, allocations: 0 / 1.254 GB, free: 6.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.4598, allocations: 24.02 kB / 1.254 GB, free: 6.188 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.4599, allocations: 4 kB / 1.254 GB, free: 6.184 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.4601, allocations: 15.98 kB / 1.254 GB, free: 6.168 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.4601, allocations: 4 kB / 1.254 GB, free: 6.164 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002596/0.4604, allocations: 152.1 kB / 1.255 GB, free: 6.012 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001676/0.4605, allocations: 93.05 kB / 1.255 GB, free: 5.902 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002535/0.4608, allocations: 119.4 kB / 1.255 GB, free: 5.773 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.4608, allocations: 4 kB / 1.255 GB, free: 5.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003116/0.4611, allocations: 153.3 kB / 1.255 GB, free: 5.613 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.4612, allocations: 10.19 kB / 1.255 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.4612, allocations: 0 / 1.255 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.447e-06/0.4612, allocations: 3.938 kB / 1.255 GB, free: 5.602 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.4613, allocations: 19.98 kB / 1.255 GB, free: 5.582 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.4613, allocations: 7.938 kB / 1.255 GB, free: 5.574 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.4615, allocations: 15.97 kB / 1.255 GB, free: 5.559 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.4615, allocations: 8 kB / 1.255 GB, free: 5.551 MB / 1.014 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 9.843e-05/0.4616, allocations: 192.2 kB / 1.255 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.4616, allocations: 27.66 kB / 1.255 GB, free: 5.328 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.462, allocations: 159.2 kB / 1.255 GB, free: 5.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.462, allocations: 0 / 1.255 GB, free: 5.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.462, allocations: 4.594 kB / 1.255 GB, free: 5.156 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.462, allocations: 0 / 1.255 GB, free: 5.156 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000832/0.4629, allocations: 0.5976 MB / 1.256 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4629, allocations: 0 / 1.256 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.463, allocations: 28.14 kB / 1.256 GB, free: 4.453 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.463, allocations: 7.938 kB / 1.256 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.463, allocations: 8 kB / 1.256 GB, free: 4.438 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.463, allocations: 0 / 1.256 GB, free: 4.438 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4631, allocations: 4 kB / 1.256 GB, free: 4.434 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.4634, allocations: 301 kB / 1.256 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.4635, allocations: 109 kB / 1.256 GB, free: 3.977 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.4636, allocations: 8 kB / 1.256 GB, free: 3.969 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.4638, allocations: 11.98 kB / 1.256 GB, free: 3.957 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.4638, allocations: 19.91 kB / 1.256 GB, free: 3.938 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4638, allocations: 8 kB / 1.256 GB, free: 3.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001689/0.464, allocations: 193.9 kB / 1.257 GB, free: 3.738 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/0.464, allocations: 0 / 1.257 GB, free: 3.738 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004402/0.4645, allocations: 95.84 kB / 1.257 GB, free: 3.645 MB / 1.014 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.0008564/0.4653, allocations: 0.8798 MB / 1.258 GB, free: 2.723 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004559/0.4658, allocations: 167.8 kB / 1.258 GB, free: 2.559 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4658, allocations: 192 / 1.258 GB, free: 2.559 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.466, allocations: 72.2 kB / 1.258 GB, free: 2.488 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007451/0.4667, allocations: 125.3 kB / 1.258 GB, free: 2.371 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6293/1.096, allocations: 2.348 MB / 1.26 GB, free: 175.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/1.096, allocations: 0.7587 MB / 1.261 GB, free: 174.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003234/1.097, allocations: 66.11 kB / 1.261 GB, free: 174.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/1.097, allocations: 75.14 kB / 1.261 GB, free: 174.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.293e-06/1.097, allocations: 0 / 1.261 GB, free: 174.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/1.127, allocations: 6.9 MB / 1.268 GB, free: 174 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/9.165, allocations: 12.09 kB / 1.268 GB, free: 174 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches