Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.CheckValve,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Examples_CheckValve",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.001019/0.001019, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005015/0.005015, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.325/1.325, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.378/2.378, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 8 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5592/0.5596, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01754/0.5772, allocations: 20.08 MB / 1.043 GB, free: 11.66 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005634/0.5828, allocations: 4.925 MB / 1.048 GB, free: 6.723 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005288/0.5834, allocations: 15.88 kB / 1.048 GB, free: 6.707 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.584, allocations: 218.7 kB / 1.048 GB, free: 6.492 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.5857, allocations: 0.7425 MB / 1.048 GB, free: 5.746 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.5871, allocations: 0.6517 MB / 1.049 GB, free: 5.102 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.5889, allocations: 1.812 MB / 1.051 GB, free: 3.277 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/0.5894, allocations: 374.3 kB / 1.051 GB, free: 2.914 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008596/0.5903, allocations: 0.5095 MB / 1.052 GB, free: 2.402 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005971/0.5909, allocations: 454.1 kB / 1.052 GB, free: 1.957 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.058e-05/0.591, allocations: 20 kB / 1.052 GB, free: 1.938 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009411/0.5919, allocations: 0.6002 MB / 1.053 GB, free: 1.336 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.5921, allocations: 103.5 kB / 1.053 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.5923, allocations: 292.2 kB / 1.053 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008897/0.5932, allocations: 0.8059 MB / 1.054 GB, free: 136 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5932, allocations: 4 kB / 1.054 GB, free: 132 kB / 0.795 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5932, allocations: 0 / 1.054 GB, free: 132 kB / 0.795 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.5933, allocations: 0 / 1.054 GB, free: 132 kB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001291/0.5946, allocations: 0.8293 MB / 1.055 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.5946, allocations: 12.03 kB / 1.055 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.788e-05/0.5947, allocations: 62.72 kB / 1.055 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.666e-05/0.5948, allocations: 68.12 kB / 1.055 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.5953, allocations: 459 kB / 1.055 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.5953, allocations: 24.66 kB / 1.055 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.5954, allocations: 36 kB / 1.055 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005771/0.596, allocations: 321.9 kB / 1.056 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.596, allocations: 4 kB / 1.056 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.596, allocations: 19.98 kB / 1.056 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.596, allocations: 8 kB / 1.056 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005757/0.5966, allocations: 282.4 kB / 1.056 GB, free: 13.93 MB / 0.8106 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.001857/0.5985, allocations: 1.349 MB / 1.057 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/0.599, allocations: 264.9 kB / 1.058 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.5993, allocations: 148.8 kB / 1.058 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.5996, allocations: 0.4986 MB / 1.058 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.5997, allocations: 34.56 kB / 1.058 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.5997, allocations: 0 / 1.058 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25): time 0.001616/0.6013, allocations: 0.6001 MB / 1.059 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.6013, allocations: 51.41 kB / 1.059 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.6018, allocations: 466.1 kB / 1.059 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.6018, allocations: 33.7 kB / 1.059 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.602, allocations: 248.5 kB / 1.06 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.93e-05/0.602, allocations: 82.75 kB / 1.06 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.6021, allocations: 33.7 kB / 1.06 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6022, allocations: 362.8 kB / 1.06 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.6025, allocations: 123.9 kB / 1.06 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.6029, allocations: 193 kB / 1.06 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.6035, allocations: 294 kB / 1.061 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.6035, allocations: 3.938 kB / 1.061 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001446/0.6049, allocations: 0.5015 MB / 1.061 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/0.605, allocations: 102.7 kB / 1.061 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.605, allocations: 4 kB / 1.061 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003105/0.6053, allocations: 52.81 kB / 1.061 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.6057, allocations: 75.89 kB / 1.061 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003567/0.606, allocations: 0.5679 MB / 1.062 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.6065, allocations: 63.64 kB / 1.062 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.6065, allocations: 16.06 kB / 1.062 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-06/0.6065, allocations: 4 kB / 1.062 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006903/0.6072, allocations: 333.7 kB / 1.062 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/0.6072, allocations: 0 / 1.062 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.6072, allocations: 4 kB / 1.062 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.6076, allocations: 79.88 kB / 1.062 GB, free: 7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.6076, allocations: 7.938 kB / 1.062 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.608, allocations: 67.64 kB / 1.062 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.6081, allocations: 15.98 kB / 1.062 GB, free: 6.91 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.6083, allocations: 245 kB / 1.063 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.6083, allocations: 47.44 kB / 1.063 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008716/0.6092, allocations: 440 kB / 1.063 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.6092, allocations: 4 kB / 1.063 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6092, allocations: 3.938 kB / 1.063 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6093, allocations: 3.938 kB / 1.063 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.6106, allocations: 0.9642 MB / 1.064 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6106, allocations: 0 / 1.064 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.6109, allocations: 67.95 kB / 1.064 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001475/0.611, allocations: 48.83 kB / 1.064 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.6111, allocations: 8 kB / 1.064 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003102/0.6114, allocations: 0.5563 MB / 1.065 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6114, allocations: 4.141 kB / 1.065 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.6122, allocations: 0.5115 MB / 1.065 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.6123, allocations: 164.4 kB / 1.065 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.6124, allocations: 8 kB / 1.065 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.6127, allocations: 47.81 kB / 1.065 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.6128, allocations: 19.91 kB / 1.066 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.6128, allocations: 19.98 kB / 1.066 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003081/0.6132, allocations: 322.9 kB / 1.066 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6132, allocations: 0 / 1.066 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006448/0.6138, allocations: 255.5 kB / 1.066 GB, free: 3.035 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001367/0.6152, allocations: 1.185 MB / 1.067 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.6163, allocations: 486 kB / 1.068 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6163, allocations: 4 kB / 1.068 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.6167, allocations: 179.8 kB / 1.068 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.6182, allocations: 268.9 kB / 1.068 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/0.6245, allocations: 4.306 MB / 1.072 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.6249, allocations: 0.8551 MB / 1.073 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004536/0.6254, allocations: 116.2 kB / 1.073 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.6256, allocations: 183.4 kB / 1.073 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of SimCode: time 2.375e-06/0.6256, allocations: 0 / 1.073 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.071/2.697, allocations: 14.43 MB / 1.088 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/2.697, allocations: 277.3 kB / 1.088 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.842/7.539, allocations: 0 / 1.088 GB, free: 12.82 MB / 0.8419 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_CheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches