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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 192 kB / 16.53 MB, free: 6.391 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 63.91 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9989/1, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02602/1.027, allocations: 20.74 MB / 1.038 GB, free: 13.66 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.007685/1.034, allocations: 4.961 MB / 1.042 GB, free: 8.688 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008817/1.035, allocations: 19.88 kB / 1.042 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009042/1.036, allocations: 270.1 kB / 1.043 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002638/1.039, allocations: 0.8121 MB / 1.043 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/1.041, allocations: 0.7041 MB / 1.044 GB, free: 6.891 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001849/1.043, allocations: 1.391 MB / 1.045 GB, free: 5.488 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006391/1.044, allocations: 434.4 kB / 1.046 GB, free: 5.062 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/1.045, allocations: 0.572 MB / 1.046 GB, free: 4.488 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006479/1.045, allocations: 446.1 kB / 1.047 GB, free: 4.051 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.745e-05/1.045, allocations: 40 kB / 1.047 GB, free: 4.012 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/1.047, allocations: 0.6277 MB / 1.048 GB, free: 3.383 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/1.047, allocations: 127.4 kB / 1.048 GB, free: 3.258 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003058/1.047, allocations: 286.5 kB / 1.048 GB, free: 2.977 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/1.049, allocations: 0.8334 MB / 1.049 GB, free: 2.141 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/1.049, allocations: 3.984 kB / 1.049 GB, free: 2.137 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.719e-06/1.049, allocations: 0 / 1.049 GB, free: 2.137 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.328e-06/1.049, allocations: 0 / 1.049 GB, free: 2.137 MB / 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.00163/1.05, allocations: 0.9226 MB / 1.05 GB, free: 1.164 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.05, allocations: 8.031 kB / 1.05 GB, free: 1.156 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/1.05, allocations: 64.19 kB / 1.05 GB, free: 1.094 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006186/1.051, allocations: 459.3 kB / 1.05 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/1.051, allocations: 28.66 kB / 1.05 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/1.051, allocations: 36 kB / 1.05 GB, free: 0.543 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006426/1.052, allocations: 306 kB / 1.051 GB, free: 240 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/1.052, allocations: 0 / 1.051 GB, free: 240 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/1.052, allocations: 12 kB / 1.051 GB, free: 228 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/1.052, allocations: 8 kB / 1.051 GB, free: 220 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/1.052, allocations: 266.4 kB / 1.051 GB, free: 15.96 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.002213/1.055, allocations: 1.341 MB / 1.052 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/1.055, allocations: 258.5 kB / 1.052 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/1.056, allocations: 124.8 kB / 1.052 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005435/1.056, allocations: 0.5025 MB / 1.053 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/1.056, allocations: 38.56 kB / 1.053 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/1.056, allocations: 0 / 1.053 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25): time 0.001811/1.058, allocations: 0.5556 MB / 1.054 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/1.058, allocations: 55.41 kB / 1.054 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/1.059, allocations: 478 kB / 1.054 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/1.059, allocations: 37.64 kB / 1.054 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/1.059, allocations: 236.5 kB / 1.054 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/1.059, allocations: 90.67 kB / 1.054 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/1.059, allocations: 77.67 kB / 1.054 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002272/1.059, allocations: 354.8 kB / 1.055 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/1.06, allocations: 124.8 kB / 1.055 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/1.06, allocations: 181 kB / 1.055 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/1.061, allocations: 278.9 kB / 1.055 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.061, allocations: 0 / 1.055 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001758/1.063, allocations: 497.4 kB / 1.056 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/1.063, allocations: 7.984 kB / 1.056 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.063, allocations: 4 kB / 1.056 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004976/1.063, allocations: 56.81 kB / 1.056 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/1.064, allocations: 71.89 kB / 1.056 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006576/1.064, allocations: 0.5562 MB / 1.057 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/1.065, allocations: 51.73 kB / 1.057 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/1.065, allocations: 12 kB / 1.057 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005259/1.065, allocations: 247.8 kB / 1.057 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003915/1.066, allocations: 185.4 kB / 1.057 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006038/1.066, allocations: 256.8 kB / 1.057 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.223e-06/1.066, allocations: 0 / 1.057 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008137/1.067, allocations: 360.8 kB / 1.058 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.067, allocations: 8 kB / 1.058 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/1.067, allocations: 0 / 1.058 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-06/1.067, allocations: 4 kB / 1.058 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/1.068, allocations: 87.81 kB / 1.058 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/1.068, allocations: 4 kB / 1.058 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/1.068, allocations: 39.8 kB / 1.058 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/1.068, allocations: 19.98 kB / 1.058 GB, free: 8.418 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.0002183/1.068, allocations: 200.1 kB / 1.058 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/1.069, allocations: 51.34 kB / 1.058 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/1.07, allocations: 425.3 kB / 1.058 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/1.07, allocations: 7.938 kB / 1.058 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.07, allocations: 4 kB / 1.058 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.07, allocations: 3.984 kB / 1.058 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/1.072, allocations: 0.9404 MB / 1.059 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.072, allocations: 0 / 1.059 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/1.072, allocations: 51.91 kB / 1.059 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/1.072, allocations: 48.95 kB / 1.059 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/1.072, allocations: 11.98 kB / 1.059 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004946/1.073, allocations: 0.5525 MB / 1.06 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.073, allocations: 7.969 kB / 1.06 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009572/1.074, allocations: 0.4912 MB / 1.06 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/1.074, allocations: 160.3 kB / 1.061 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.479e-05/1.074, allocations: 8 kB / 1.061 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/1.074, allocations: 23.97 kB / 1.061 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.074, allocations: 23.91 kB / 1.061 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/1.074, allocations: 12 kB / 1.061 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004446/1.075, allocations: 322.9 kB / 1.061 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/1.075, allocations: 0 / 1.061 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00101/1.076, allocations: 255.5 kB / 1.061 GB, free: 4.684 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.0006135/1.077, allocations: 251.8 kB / 1.061 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001313/1.078, allocations: 482.5 kB / 1.062 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.078, allocations: 0 / 1.062 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004068/1.078, allocations: 171.8 kB / 1.062 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/1.079, allocations: 215.1 kB / 1.062 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/1.081, allocations: 0.8381 MB / 1.063 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/1.081, allocations: 0.8588 MB / 1.064 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004299/1.082, allocations: 116.1 kB / 1.064 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.622e-05/1.082, allocations: 43.42 kB / 1.064 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of SimCode: time 1.253e-06/1.082, allocations: 0 / 1.064 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of Templates: time 0.01782/1.1, allocations: 10.12 MB / 1.074 GB, free: 7.723 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (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 & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches