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.009636/0.009636, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001851/0.001851, allocations: 194.4 kB / 16.68 MB, free: 5.969 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.563/2.563, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155/1.156, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02313/1.179, allocations: 20.75 MB / 1.187 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008369/1.188, allocations: 4.951 MB / 1.192 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009928/1.189, allocations: 19.88 kB / 1.192 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009451/1.19, allocations: 274.1 kB / 1.192 GB, free: 9.797 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002726/1.193, allocations: 0.869 MB / 1.193 GB, free: 8.926 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/1.195, allocations: 0.7059 MB / 1.194 GB, free: 8.227 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002245/1.197, allocations: 1.391 MB / 1.195 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006933/1.198, allocations: 440.4 kB / 1.195 GB, free: 6.395 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/1.199, allocations: 0.576 MB / 1.196 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006578/1.2, allocations: 446.1 kB / 1.196 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.431e-05/1.2, allocations: 40 kB / 1.196 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/1.201, allocations: 0.6355 MB / 1.197 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/1.201, allocations: 123.5 kB / 1.197 GB, free: 4.582 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003057/1.202, allocations: 290.5 kB / 1.197 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/1.203, allocations: 0.845 MB / 1.198 GB, free: 3.453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/1.203, allocations: 0 / 1.198 GB, free: 3.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.334e-06/1.203, allocations: 7.938 kB / 1.198 GB, free: 3.445 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.408e-06/1.203, allocations: 0 / 1.198 GB, free: 3.445 MB / 0.92 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.00176/1.205, allocations: 0.9412 MB / 1.199 GB, free: 2.453 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.205, allocations: 8.922 kB / 1.199 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/1.205, allocations: 68.55 kB / 1.199 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008162/1.206, allocations: 487.8 kB / 1.2 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/1.206, allocations: 24.66 kB / 1.2 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/1.206, allocations: 32 kB / 1.2 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/1.207, allocations: 310 kB / 1.2 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/1.207, allocations: 0 / 1.2 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/1.207, allocations: 8 kB / 1.2 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/1.207, allocations: 12 kB / 1.2 GB, free: 1.48 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006078/1.208, allocations: 262.4 kB / 1.2 GB, free: 1.223 MB / 0.92 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.002214/1.21, allocations: 1.345 MB / 1.202 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/1.21, allocations: 252.1 kB / 1.202 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/1.211, allocations: 136.8 kB / 1.202 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004597/1.211, allocations: 0.4986 MB / 1.202 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/1.211, allocations: 42.59 kB / 1.202 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/1.211, allocations: 0 / 1.202 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.001763/1.213, allocations: 0.5674 MB / 1.203 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/1.213, allocations: 55.62 kB / 1.203 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/1.213, allocations: 458.2 kB / 1.203 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/1.213, allocations: 37.64 kB / 1.204 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/1.214, allocations: 248.6 kB / 1.204 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/1.214, allocations: 83.22 kB / 1.204 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/1.214, allocations: 89.31 kB / 1.204 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.214, allocations: 362.8 kB / 1.204 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/1.214, allocations: 120.8 kB / 1.204 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/1.215, allocations: 186.5 kB / 1.205 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005753/1.215, allocations: 261.3 kB / 1.205 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.215, allocations: 4 kB / 1.205 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001527/1.217, allocations: 493.8 kB / 1.205 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.217, allocations: 7.938 kB / 1.205 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.217, allocations: 0 / 1.205 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003786/1.217, allocations: 64.81 kB / 1.205 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/1.218, allocations: 63.89 kB / 1.205 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004577/1.218, allocations: 0.5679 MB / 1.206 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/1.219, allocations: 51.84 kB / 1.206 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/1.219, allocations: 15.98 kB / 1.206 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004297/1.219, allocations: 240 kB / 1.206 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003489/1.219, allocations: 181.1 kB / 1.206 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005693/1.22, allocations: 257.8 kB / 1.207 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/1.22, allocations: 4 kB / 1.207 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008122/1.221, allocations: 377.2 kB / 1.207 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/1.221, allocations: 6.5 kB / 1.207 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/1.221, allocations: 3.984 kB / 1.207 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-06/1.221, allocations: 4 kB / 1.207 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/1.221, allocations: 87.81 kB / 1.207 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/1.221, allocations: 4.094 kB / 1.207 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/1.222, allocations: 51.83 kB / 1.207 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/1.222, allocations: 12 kB / 1.207 GB, free: 9.652 MB / 0.9356 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.0002122/1.222, allocations: 192.3 kB / 1.207 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/1.222, allocations: 55.56 kB / 1.207 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/1.223, allocations: 421 kB / 1.208 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/1.223, allocations: 4 kB / 1.208 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.223, allocations: 0 / 1.208 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.223, allocations: 0 / 1.208 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/1.225, allocations: 0.9472 MB / 1.209 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.225, allocations: 0 / 1.209 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/1.225, allocations: 56.02 kB / 1.209 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/1.225, allocations: 36.83 kB / 1.209 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/1.225, allocations: 12 kB / 1.209 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003727/1.226, allocations: 0.5563 MB / 1.209 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.226, allocations: 3.938 kB / 1.209 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007957/1.226, allocations: 0.492 MB / 1.21 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/1.227, allocations: 168.7 kB / 1.21 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/1.227, allocations: 0 / 1.21 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/1.227, allocations: 23.97 kB / 1.21 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/1.227, allocations: 27.91 kB / 1.21 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/1.227, allocations: 15.98 kB / 1.21 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003863/1.228, allocations: 314.9 kB / 1.21 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/1.228, allocations: 4 kB / 1.21 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008903/1.228, allocations: 255.5 kB / 1.211 GB, free: 5.93 MB / 0.9356 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.000638/1.229, allocations: 260.5 kB / 1.211 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001273/1.23, allocations: 457.8 kB / 1.211 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.23, allocations: 4 kB / 1.211 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004225/1.231, allocations: 174.4 kB / 1.212 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/1.232, allocations: 229.7 kB / 1.212 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/1.233, allocations: 0.8423 MB / 1.213 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/1.234, allocations: 0.8587 MB / 1.213 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004197/1.234, allocations: 116.1 kB / 1.214 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/1.234, allocations: 43.42 kB / 1.214 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of SimCode: time 1.503e-06/1.234, allocations: 0 / 1.214 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of Templates: time 0.01908/1.253, allocations: 10.17 MB / 1.224 GB, free: 8.891 MB / 0.9512 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