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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.004871/0.004871, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.001213/0.001213, allocations: 194.6 kB / 16.67 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 461.9 MB / 0.7348 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.91 kB / 1.054 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3097, allocations: 157.4 MB / 1.207 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8366/1.146, allocations: 161.5 MB / 1.365 GB, free: 5.418 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002906/1.149, allocations: 1.697 MB / 1.367 GB, free: 4.238 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/1.15, allocations: 14.19 kB / 1.367 GB, free: 4.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005539/1.15, allocations: 164.9 kB / 1.367 GB, free: 4.125 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/1.152, allocations: 0.503 MB / 1.367 GB, free: 3.863 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/1.153, allocations: 426.9 kB / 1.368 GB, free: 3.664 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007328/1.153, allocations: 0.5717 MB / 1.368 GB, free: 3.406 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/1.154, allocations: 176.1 kB / 1.368 GB, free: 3.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005902/1.154, allocations: 332.9 kB / 1.369 GB, free: 3.188 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/1.155, allocations: 152 kB / 1.369 GB, free: 3.121 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/1.155, allocations: 12.16 kB / 1.369 GB, free: 3.121 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/1.156, allocations: 0.6963 MB / 1.37 GB, free: 2.875 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/1.156, allocations: 78.52 kB / 1.37 GB, free: 2.844 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/1.156, allocations: 117 kB / 1.37 GB, free: 2.777 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007615/1.157, allocations: 0.4911 MB / 1.37 GB, free: 2.602 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.157, allocations: 5 kB / 1.37 GB, free: 2.598 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/1.157, allocations: 0 / 1.37 GB, free: 2.598 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.011e-06/1.157, allocations: 0 / 1.37 GB, free: 2.598 MB / 1.061 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.000882/1.158, allocations: 0.5861 MB / 1.371 GB, free: 2.086 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.158, allocations: 11.36 kB / 1.371 GB, free: 2.086 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/1.158, allocations: 46.56 kB / 1.371 GB, free: 2.039 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/1.158, allocations: 57.19 kB / 1.371 GB, free: 2.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/1.159, allocations: 306.2 kB / 1.371 GB, free: 1.762 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/1.159, allocations: 10.59 kB / 1.371 GB, free: 1.758 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/1.159, allocations: 16.33 kB / 1.371 GB, free: 1.754 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/1.159, allocations: 191 kB / 1.371 GB, free: 1.652 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.159, allocations: 1.469 kB / 1.371 GB, free: 1.652 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/1.159, allocations: 9.422 kB / 1.371 GB, free: 1.645 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/1.159, allocations: 2.438 kB / 1.371 GB, free: 1.645 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/1.159, allocations: 127 kB / 1.372 GB, free: 1.613 MB / 1.061 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.0009808/1.16, allocations: 0.7849 MB / 1.372 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/1.161, allocations: 81.08 kB / 1.372 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/1.161, allocations: 80.61 kB / 1.372 GB, free: 0.918 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/1.161, allocations: 192.2 kB / 1.373 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/1.161, allocations: 31.88 kB / 1.373 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/1.161, allocations: 7.875 kB / 1.373 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0006379/1.162, allocations: 216.9 kB / 1.373 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/1.162, allocations: 60.66 kB / 1.373 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/1.162, allocations: 266.8 kB / 1.373 GB, free: 384 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/1.162, allocations: 27.67 kB / 1.373 GB, free: 352 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.25e-05/1.162, allocations: 144.9 kB / 1.373 GB, free: 224 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/1.162, allocations: 33.09 kB / 1.373 GB, free: 196 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/1.162, allocations: 31.56 kB / 1.373 GB, free: 172 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.162, allocations: 340.1 kB / 1.374 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/1.162, allocations: 47.36 kB / 1.374 GB, free: 15.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/1.163, allocations: 88.94 kB / 1.374 GB, free: 15.76 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/1.163, allocations: 125.8 kB / 1.374 GB, free: 15.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.163, allocations: 0 / 1.374 GB, free: 15.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003278/1.163, allocations: 165.7 kB / 1.374 GB, free: 15.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.163, allocations: 6.125 kB / 1.374 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/1.163, allocations: 1.156 kB / 1.374 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.163, allocations: 10 kB / 1.374 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/1.163, allocations: 21.42 kB / 1.374 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.163, allocations: 1.125 kB / 1.374 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/1.164, allocations: 13.06 kB / 1.374 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/1.164, allocations: 4.906 kB / 1.374 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001849/1.164, allocations: 147.7 kB / 1.374 GB, free: 15.51 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001475/1.164, allocations: 99.88 kB / 1.374 GB, free: 15.44 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002204/1.164, allocations: 113.5 kB / 1.375 GB, free: 15.38 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/1.164, allocations: 3.938 kB / 1.375 GB, free: 15.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003023/1.164, allocations: 155 kB / 1.375 GB, free: 15.31 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.864e-06/1.165, allocations: 5.344 kB / 1.375 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/1.165, allocations: 1.062 kB / 1.375 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-06/1.165, allocations: 2.375 kB / 1.375 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/1.165, allocations: 28.47 kB / 1.375 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/1.165, allocations: 1.531 kB / 1.375 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/1.165, allocations: 21.62 kB / 1.375 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/1.165, allocations: 4.469 kB / 1.375 GB, free: 15.29 MB / 1.076 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.746e-05/1.165, allocations: 197.4 kB / 1.375 GB, free: 15.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/1.165, allocations: 19.25 kB / 1.375 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/1.165, allocations: 174.8 kB / 1.375 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.165, allocations: 1.25 kB / 1.375 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.165, allocations: 5.688 kB / 1.375 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/1.165, allocations: 0 / 1.375 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008145/1.166, allocations: 0.5896 MB / 1.376 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.166, allocations: 6.469 kB / 1.376 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/1.166, allocations: 25.8 kB / 1.376 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.166, allocations: 3.219 kB / 1.376 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/1.166, allocations: 3.188 kB / 1.376 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/1.166, allocations: 5.641 kB / 1.376 GB, free: 14.44 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.166, allocations: 2.406 kB / 1.376 GB, free: 14.44 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/1.167, allocations: 295.9 kB / 1.376 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.241e-05/1.167, allocations: 117.3 kB / 1.376 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/1.167, allocations: 3.938 kB / 1.376 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/1.167, allocations: 19.52 kB / 1.376 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/1.167, allocations: 17.67 kB / 1.376 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/1.167, allocations: 4.406 kB / 1.376 GB, free: 14.04 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001718/1.167, allocations: 193.5 kB / 1.376 GB, free: 13.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.167, allocations: 1.094 kB / 1.376 GB, free: 13.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000458/1.168, allocations: 93.12 kB / 1.377 GB, free: 13.9 MB / 1.076 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.0008856/1.169, allocations: 0.8854 MB / 1.377 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004187/1.169, allocations: 166.9 kB / 1.378 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/1.169, allocations: 5.312 kB / 1.378 GB, free: 13.01 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/1.169, allocations: 65.58 kB / 1.378 GB, free: 12.98 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006634/1.17, allocations: 120.9 kB / 1.378 GB, free: 12.92 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/1.173, allocations: 2.351 MB / 1.38 GB, free: 11.04 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/1.173, allocations: 0.7548 MB / 1.381 GB, free: 10.31 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001997/1.173, allocations: 65.3 kB / 1.381 GB, free: 10.28 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/1.173, allocations: 70.11 kB / 1.381 GB, free: 10.23 MB / 1.076 GB Notification: Performance of SimCode: time 1.493e-06/1.173, allocations: 0 / 1.381 GB, free: 10.23 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/1.2, allocations: 7.019 MB / 1.388 GB, free: 6.695 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/8.721, allocations: 3.969 kB / 1.388 GB, free: 6.695 MB / 1.076 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