Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001349/0.00135, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001543/0.001543, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.429/1.429, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 55.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8439/0.8453, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02389/0.8692, allocations: 20.74 MB / 1.109 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008468/0.8777, allocations: 4.949 MB / 1.114 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009296/0.8787, allocations: 18.81 kB / 1.114 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000977/0.8797, allocations: 286.5 kB / 1.114 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002652/0.8824, allocations: 0.8529 MB / 1.115 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.8848, allocations: 0.7052 MB / 1.116 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002248/0.887, allocations: 1.396 MB / 1.117 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007653/0.8878, allocations: 443.6 kB / 1.117 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.889, allocations: 0.5898 MB / 1.118 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007072/0.8898, allocations: 446 kB / 1.118 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.823e-05/0.8899, allocations: 37.47 kB / 1.118 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.8915, allocations: 0.6344 MB / 1.119 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.8917, allocations: 123.6 kB / 1.119 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.8921, allocations: 295.3 kB / 1.119 GB, free: 420 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.8937, allocations: 0.8385 MB / 1.12 GB, free: 96 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8937, allocations: 5.75 kB / 1.12 GB, free: 92 kB / 0.8731 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8937, allocations: 0 / 1.12 GB, free: 92 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.8938, allocations: 1.281 kB / 1.12 GB, free: 92 kB / 0.8731 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.001778/0.8955, allocations: 0.927 MB / 1.121 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.8956, allocations: 13.97 kB / 1.121 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.8957, allocations: 63.5 kB / 1.121 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000819/0.8966, allocations: 473.8 kB / 1.122 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.8966, allocations: 27.56 kB / 1.122 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.8967, allocations: 34.66 kB / 1.122 GB, free: 15 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.8974, allocations: 305.7 kB / 1.122 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.8974, allocations: 1.188 kB / 1.122 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.8975, allocations: 14.72 kB / 1.122 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.8975, allocations: 6.312 kB / 1.122 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006708/0.8982, allocations: 260.2 kB / 1.122 GB, free: 14.8 MB / 0.8887 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.002407/0.9006, allocations: 1.337 MB / 1.124 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005656/0.9012, allocations: 253.9 kB / 1.124 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.9015, allocations: 138 kB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004507/0.902, allocations: 0.4971 MB / 1.124 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.902, allocations: 42.45 kB / 1.124 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=25): time 2.194e-06/0.902, allocations: 0 / 1.124 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of matching and sorting (n=25): time 0.001936/0.904, allocations: 0.5624 MB / 1.125 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.904, allocations: 53.75 kB / 1.125 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005858/0.9046, allocations: 467.5 kB / 1.125 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.9046, allocations: 31.7 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.9048, allocations: 239.1 kB / 1.126 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.9049, allocations: 87.78 kB / 1.126 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.9051, allocations: 76.84 kB / 1.126 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.9052, allocations: 360.8 kB / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.9056, allocations: 124.7 kB / 1.126 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.906, allocations: 182 kB / 1.127 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006656/0.9067, allocations: 276.7 kB / 1.127 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.9067, allocations: 5.062 kB / 1.127 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001685/0.9084, allocations: 489.2 kB / 1.127 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.9084, allocations: 6.469 kB / 1.127 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.9084, allocations: 4 kB / 1.127 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004544/0.9089, allocations: 50.22 kB / 1.127 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.9093, allocations: 71.12 kB / 1.127 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005728/0.9099, allocations: 0.5614 MB / 1.128 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.9104, allocations: 60.91 kB / 1.128 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.9105, allocations: 16.45 kB / 1.128 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005171/0.911, allocations: 240.2 kB / 1.128 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004337/0.9115, allocations: 178.3 kB / 1.128 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006948/0.9122, allocations: 264.3 kB / 1.129 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-06/0.9122, allocations: 0 / 1.129 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0009402/0.9131, allocations: 367.1 kB / 1.129 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.9132, allocations: 5.625 kB / 1.129 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.9132, allocations: 1.5 kB / 1.129 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.91e-06/0.9132, allocations: 1.438 kB / 1.129 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/0.9136, allocations: 76.89 kB / 1.129 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.9136, allocations: 5.469 kB / 1.129 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.9141, allocations: 55.11 kB / 1.129 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.9142, allocations: 16.47 kB / 1.129 GB, free: 10.39 MB / 0.8887 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.0002015/0.9144, allocations: 199.7 kB / 1.129 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.9145, allocations: 46.03 kB / 1.129 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.9157, allocations: 427.5 kB / 1.13 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.9157, allocations: 3.453 kB / 1.13 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.9157, allocations: 0 / 1.13 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.916, allocations: 158.9 kB / 1.13 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.916, allocations: 9.219 kB / 1.13 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.9164, allocations: 23.59 kB / 1.13 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.9164, allocations: 19.64 kB / 1.13 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001139/0.9176, allocations: 460.5 kB / 1.13 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001254/0.9188, allocations: 0.6859 MB / 1.131 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003384/0.9192, allocations: 140.5 kB / 1.131 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004507/0.9196, allocations: 320.8 kB / 1.132 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of Backend: time 7.82e-07/0.9197, allocations: 0 / 1.132 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002037/0.9217, allocations: 0.6016 MB / 1.132 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of SimCode: time 0.002144/0.9239, allocations: 1.364 MB / 1.133 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of Templates: time 0.02992/0.9538, allocations: 11.54 MB / 1.145 GB, free: 5.738 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_CheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches