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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 113.2 kB / 18.68 MB, free: 3.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 250.6 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 443.5 MB / 0.7317 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.89 kB / 1.061 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.07, allocations: 160.7 MB / 1.218 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02587/1.096, allocations: 21.1 MB / 1.238 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008804/1.105, allocations: 4.978 MB / 1.243 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/1.106, allocations: 19.88 kB / 1.243 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/1.107, allocations: 278.1 kB / 1.243 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002965/1.11, allocations: 0.8537 MB / 1.244 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/1.112, allocations: 0.7167 MB / 1.245 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002425/1.115, allocations: 1.391 MB / 1.246 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006657/1.115, allocations: 359.1 kB / 1.247 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/1.117, allocations: 0.5876 MB / 1.247 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007689/1.117, allocations: 462 kB / 1.248 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.057e-05/1.117, allocations: 36 kB / 1.248 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/1.119, allocations: 0.6472 MB / 1.248 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001918/1.119, allocations: 123.5 kB / 1.248 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003668/1.12, allocations: 294.5 kB / 1.249 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/1.121, allocations: 0.8483 MB / 1.25 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.121, allocations: 0 / 1.25 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.834e-06/1.121, allocations: 0 / 1.25 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.398e-06/1.121, allocations: 0 / 1.25 GB, free: 6.914 MB / 0.9512 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.001843/1.123, allocations: 0.9529 MB / 1.251 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/1.123, allocations: 8.625 kB / 1.251 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/1.123, allocations: 64.56 kB / 1.251 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008879/1.124, allocations: 483.8 kB / 1.251 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/1.124, allocations: 24.66 kB / 1.251 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.818e-05/1.124, allocations: 36 kB / 1.251 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/1.125, allocations: 310 kB / 1.251 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/1.125, allocations: 0 / 1.251 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/1.125, allocations: 11.98 kB / 1.251 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/1.125, allocations: 8 kB / 1.251 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00067/1.126, allocations: 262.4 kB / 1.252 GB, free: 4.68 MB / 0.9512 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.002526/1.128, allocations: 1.333 MB / 1.253 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/1.129, allocations: 258.5 kB / 1.253 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/1.129, allocations: 128.7 kB / 1.253 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005637/1.13, allocations: 0.4947 MB / 1.254 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/1.13, allocations: 38.56 kB / 1.254 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=25): time 2.455e-06/1.13, allocations: 0 / 1.254 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25): time 0.00196/1.132, allocations: 0.5711 MB / 1.254 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/1.132, allocations: 51.41 kB / 1.254 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/1.132, allocations: 462.2 kB / 1.255 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/1.132, allocations: 33.7 kB / 1.255 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/1.133, allocations: 248.6 kB / 1.255 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/1.133, allocations: 91.2 kB / 1.255 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/1.133, allocations: 81.39 kB / 1.255 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000198/1.133, allocations: 358.8 kB / 1.256 GB, free: 248 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/1.133, allocations: 124.8 kB / 1.256 GB, free: 120 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004516/1.134, allocations: 182.6 kB / 1.256 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006632/1.134, allocations: 260.8 kB / 1.256 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.134, allocations: 4 kB / 1.256 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001663/1.136, allocations: 497.9 kB / 1.257 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.136, allocations: 8 kB / 1.257 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.136, allocations: 0 / 1.257 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003872/1.137, allocations: 48.81 kB / 1.257 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/1.137, allocations: 79.88 kB / 1.257 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005075/1.137, allocations: 0.5602 MB / 1.257 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/1.138, allocations: 55.67 kB / 1.257 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/1.138, allocations: 12 kB / 1.257 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005027/1.138, allocations: 240.1 kB / 1.258 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003687/1.139, allocations: 193.2 kB / 1.258 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006084/1.139, allocations: 256.3 kB / 1.258 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/1.139, allocations: 0 / 1.258 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008349/1.14, allocations: 378.7 kB / 1.258 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/1.14, allocations: 4 kB / 1.258 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/1.14, allocations: 0 / 1.258 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-06/1.14, allocations: 4 kB / 1.258 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/1.141, allocations: 79.88 kB / 1.259 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/1.141, allocations: 7.938 kB / 1.259 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/1.141, allocations: 47.84 kB / 1.259 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/1.141, allocations: 15.94 kB / 1.259 GB, free: 13.14 MB / 0.9669 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.0001971/1.141, allocations: 200.2 kB / 1.259 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/1.141, allocations: 51.62 kB / 1.259 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/1.142, allocations: 412.9 kB / 1.259 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/1.142, allocations: 7.984 kB / 1.259 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.142, allocations: 0 / 1.259 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/1.143, allocations: 160.7 kB / 1.259 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/1.143, allocations: 0 / 1.259 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/1.143, allocations: 23.97 kB / 1.259 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/1.143, allocations: 23.95 kB / 1.259 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001111/1.144, allocations: 458 kB / 1.26 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00119/1.145, allocations: 0.6865 MB / 1.261 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003066/1.146, allocations: 125.4 kB / 1.261 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003949/1.146, allocations: 322.9 kB / 1.261 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of Backend: time 7.31e-07/1.146, allocations: 3.938 kB / 1.261 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002/1.148, allocations: 0.5915 MB / 1.262 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002217/1.15, allocations: 1.403 MB / 1.263 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of Templates: time 0.0224/1.173, allocations: 11.8 MB / 1.274 GB, free: 12.95 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.880659090005793]